This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#define TABLERO 4 | |
/* | |
Program: Boggle | |
Encoded by Michael Serrato. | |
*/ | |
int N; | |
char tablero[5][5]; | |
int mapa[5][5] = {0}; /* Mapa: Sirve como auxiliar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdio> | |
#include <algorithm> | |
#include <iostream> | |
#include <map> | |
#include <vector> | |
#include <utility> | |
#define optimize ios_base::sync_with_stdio(0);cin.tie(0); | |
#define all(v) v.begin(), v.end() | |
#define first(v, n) v.begin(), v.begin()+n | |
#define second(v, n) v.begin()+n, v.begin()+(2*n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define X first | |
#define Y second | |
#define sz size | |
using namespace std; | |
typedef long long int lli; | |
int C,N; | |
lli Limite = 0; | |
lli AC = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define PB push_back | |
#define MP make_pair | |
#define X first | |
#define Y second | |
#define sz size | |
#define PS push | |
using namespace std; | |
typedef long long int lli; | |
int N; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int N, M; | |
int raiz[1000015]; | |
int rango[1000015]; | |
int encontrar(int n) { | |
if( raiz[n] == n ) | |
return n; | |
else raiz[n] = encontrar( raiz[n] ); | |
return raiz[n]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define X first | |
#define Y second | |
using namespace std; | |
int N; | |
double answer = 0; | |
struct NODO { | |
int prefix = 0; | |
NODO* hijos[30]; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define pb push_back | |
#define MAXN 1000005 | |
using namespace std; | |
typedef long long int lli; | |
lli N, M; | |
lli P, Q; | |
char A[MAXN]; | |
char B[MAXN]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define optimize ios_base::sync_with_stdio(0);cin.tie(0) | |
#define sz size | |
using namespace std; | |
typedef long long int lli; | |
lli A, N; | |
string cad; | |
int digits[4005]; | |
lli izq[40005]; | |
lli der[40005]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdio> | |
#include <cstring> | |
#include <algorithm> | |
#include <vector> | |
#define all(v) v.begin(), v.end() | |
#define ver(x) cout<<#x<<": "<<x<<"\n"; | |
#define verP(x) cout<<#x<<": "<<*x<<"\n"; | |
#define name(x) cout<<#x<<" \n"; | |
#define MAXSZ 16000002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdio> | |
#include <algorithm> | |
#include <vector> | |
#define all(v) v.begin(), v.end() | |
#define ver(x) cout<<#x<<": "<<x<<"\n"; | |
#define verP(x) cout<<#x<<": "<<*x<<"\n"; | |
#define name(x) cout<<#x<<" \n"; | |
#define MAXSZ 16000002 | |
using namespace std; |
OlderNewer