0_0_21384721_3445.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_21384721_3445.cpp:3:1: error: 'map' does not name a type
map<pair<int,int>,bool> M;
^
0_0_21384721_3445.cpp:4:1: error: 'pair' does not name a type
pair<int,int>point[1000];
^
0_0_21384721_3445.cpp: In function 'int main()':
0_0_21384721_3445.cpp:13:11: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_21384721_3445.cpp:17:9: error: 'M' was not declared in this scope
M.clear();
^
0_0_21384721_3445.cpp:19:16: error: 'point' was not declared in this scope
memset(point,0,sizeof(point));
^
0_0_21384721_3445.cpp:19:37: error: 'memset' was not declared in this scope
memset(point,0,sizeof(point));
^
0_0_21384721_3445.cpp:23:36: error: 'scanf' was not declared in this scope
scanf("%d %d",&t_x,&t_y);
^
0_0_21384721_3445.cpp:35:58: error: 'make_pair' was not declared in this scope
if(M.count(mk(point[i].x+dx,point[i].y+dy))) ok++;
^
0_0_21384721_3445.cpp:36:58: error: 'make_pair' was not declared in this scope
if(M.count(mk(point[j].x+dx,point[j].y+dy))) ok++;
^
0_0_21384721_3445.cpp:39:58: error: 'make_pair' was not declared in this scope
if(M.count(mk(point[i].x-dx,point[i].y-dy))) ok++;
^
0_0_21384721_3445.cpp:40:58: error: 'make_pair' was not declared in this scope
if(M.count(mk(point[j].x-dy,point[j].y-dx))) ok++;
^
0_0_21384721_3445.cpp:44:9: error: 'cout' was not declared in this scope
cout<<ans/4<<endl;
^
0_0_21384721_3445.cpp:44:22: error: 'endl' was not declared in this scope
cout<<ans/4<<endl;
^
|