0_0_37867354_2112.cpp:7:5: error: 'Pair' does not name a type
Pair a[N];
^
0_0_37867354_2112.cpp:8:5: error: 'map' does not name a type
map<Pair,int> M;
^
0_0_37867354_2112.cpp: In function 'void MAIN::MAIN()':
0_0_37867354_2112.cpp:11:9: error: 'res' was not declared in this scope
res T=read();
^
0_0_37867354_2112.cpp:12:15: error: 'T' was not declared in this scope
while(T--){
^
0_0_37867354_2112.cpp:13:13: error: 'map' was not declared in this scope
map<Pair,int>().swap(M);
^
0_0_37867354_2112.cpp:13:17: error: 'Pair' was not declared in this scope
map<Pair,int>().swap(M);
^
0_0_37867354_2112.cpp:13:22: error: expected primary-expression before 'int'
map<Pair,int>().swap(M);
^
0_0_37867354_2112.cpp:14:17: error: expected ';' before 'n'
res n=read();
^
0_0_37867354_2112.cpp:15:21: error: expected ';' before 'i'
for(res i=1;i<=n;i++){
^
0_0_37867354_2112.cpp:15:25: error: 'i' was not declared in this scope
for(res i=1;i<=n;i++){
^
0_0_37867354_2112.cpp:15:28: error: 'n' was not declared in this scope
for(res i=1;i<=n;i++){
^
0_0_37867354_2112.cpp:16:21: error: expected ';' before 'x0'
res x0=read(),y0=read(),x1=read(),y1=read();
^
0_0_37867354_2112.cpp:17:21: error: expected ';' before 'g'
res g=__gcd(x1-x0,y1-y0);
^
0_0_37867354_2112.cpp:18:17: error: 'a' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:18:26: error: 'x1' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:18:29: error: 'x0' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:18:33: error: 'g' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:18:36: error: 'y1' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:18:39: error: 'y0' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:18:44: error: 'mp' was not declared in this scope
a[i]=mp((x1-x0)/g,(y1-y0)/g);
^
0_0_37867354_2112.cpp:20:50: error: 'abs' was not declared in this scope
if(a[i].fi==0)a[i].se=abs(a[i].se);
^
0_0_37867354_2112.cpp:21:17: error: 'M' was not declared in this scope
M[a[i]]++;
^
0_0_37867354_2112.cpp:24:24: error: 'M' was not declared in this scope
for(auto x:M)b[++bx]=x.se;
^
0_0_37867354_2112.cpp:25:28: error: 'sort' was not declared in this scope
sort(b+1,b+bx+1);
^
0_0_37867354_2112.cpp:26:17: error: expected ';' before 'mx'
res mx=0;
^
0_0_37867354_2112.cpp:27:17: error: expected ';' before 'j'
res j=bx+1,st=1;
^
0_0_37867354_2112.cpp:28:21: error: expected ';' before 'i'
for(res i=1;i<=n;i++){
^
0_0_37867354_2112.cpp:28:25: error: 'i' was not declared in this scope
for(res i=1;i<=n;i++){
^
0_0_37867354_2112.cpp:28:28: error: 'n' was not declared in this scope
for(res i=1;i<=n;i++){
^
0_0_37867354_2112.cpp:29:20: error: 'j' was not declared in this scope
if(j==bx+1){
^
0_0_37867354_2112.cpp:30:23: error: 'st' was not declared in this scope
j=st,mx++;
^
0_0_37867354_2112.cpp:30:26: error: 'mx' was not declared in this scope
j=st,mx++;
^
0_0_37867354_2112.cpp:34:17: error: 'j' was not declared in this scope
j++;
^
0_0_37867354_2112.cpp:35:33: error: 'mx' was not declared in this scope
printf("%d\n",i-mx);
^
0_0_37867354_2112.cpp:35:35: error: 'printf' was not declared in this scope
printf("%d\n",i-mx);
^
|