Pagini recente » Cod sursa (job #1216735) | Cod sursa (job #233583) | Cod sursa (job #3266546) | Cod sursa (job #1798020) | Cod sursa (job #2200510)
#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,fileno(stdin),0)){}
operator int(){
int x=0;
while(*s<48)s++;
while(*s>32)x=x*10+*s++-48;
return x;
}
};
int main() {
#ifdef INFOARENA
freopen("hashuri.in", "r", stdin);
freopen("hashuri.out", "w", stdout);
#endif
UnorderedSet s;
_io it;
int num_queries = it;
return 0;
}