Skip to content

Instantly share code, notes, and snippets.

View jhtan's full-sized avatar

Jhonatan Castro jhtan

View GitHub Profile
@jhtan
jhtan / SPOJ Desining T-Shirts, ArgCamp14
Created July 31, 2014 20:52
SPOJ Desining T-Shirts, ArgCamp14
#include <bits/stdc++.h>
#define MAX 1000000
using namespace std;
struct trie{
map<char, int> sig;
bool termina;
int a, b;
};
trie t[MAX];
int n = 1;
@jhtan
jhtan / inf27lol super_market
Created August 21, 2014 15:02
1st homework of inf27lol lol
create table cliente (
cliente_id varchar(8) not null,
nombre varchar(50),
paterno varchar(50),
materno varchar(50),
primary key (cliente_id)
)
create table cargo (
cargo_id varchar(8) not null,