Pagini recente » Cod sursa (job #2954131) | Cod sursa (job #2406697) | Cod sursa (job #1863694) | Cod sursa (job #2598345) | Cod sursa (job #2200509)
#include <bits/stdc++.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace std;
typedef __gnu_pbds::cc_hash_table<int, __gnu_pbds::null_type> UnorderedSet;
struct _io{
char*s;
_io():s((char*)mmap(0,1<<18,PROT_READ,MAP_FILE|MAP_PRIVATE,0,0)){}
operator int(){
int x=0;
while(*s<48)s++;
while(*s>32)x=x*10+*s++-48;
return x;
}
}it;
int main() {
#ifdef INFOARENA
freopen("hashuri.in", "r", stdin);
freopen("hashuri.out", "w", stdout);
#else
in = open("input.txt", O_RDONLY);
#endif
UnorderedSet s;
int num_queries = it;
return 0;
}