Skip to content

Instantly share code, notes, and snippets.

View gonzalezfj's full-sized avatar
🏠
Working from home

Facundo J Gonzalez gonzalezfj

🏠
Working from home
View GitHub Profile
@gonzalezfj
gonzalezfj / 3n+1
Last active August 29, 2015 13:56
// ConsoleApplication2.cpp: define el punto de entrada de la aplicación de consola.
//
#include "stdafx.h"
#define TOTAL 1000000
#define MAX(a,b) ((a) > (b) ? (a) : (b))
typedef unsigned short int usint;
usint tabla[TOTAL];
#include<iostream>
using namespace std;
#define TOTAL 1000000
#define MIN(a,b) ((a) < (b) ? (a) : (b))
typedef unsigned short int usint;
usint tabla[TOTAL];
int main()
#include<iostream>
using namespace std;
#define TOTAL 101
char tabla[TOTAL][TOTAL];
int tabla2[TOTAL][TOTAL];
int main() {
char n,m;
#include<iostream>
#include<string>
#include<queue>
#include <sstream>
#include <stdlib.h> /* atoi */
using namespace std;
void Fill(char** matrix,int x1,int y1,int x2,int y2, char c);
void Clear(char** matrix,int b, int c)