0_0_33209634_20923.cpp: In function 'double dis(Point)':
0_0_33209634_20923.cpp:10:6: error: 'i' was not declared in this scope
rep(i,1,n){
^
0_0_33209634_20923.cpp:10:11: error: 'rep' was not declared in this scope
rep(i,1,n){
^
0_0_33209634_20923.cpp:14:15: error: 'sqrt' was not declared in this scope
return sqrt(d);
^
0_0_33209634_20923.cpp: In function 'int main()':
0_0_33209634_20923.cpp:18:13: error: 'srand' was not declared in this scope
srand(49999);
^
0_0_33209634_20923.cpp:19:32: error: 'scanf' was not declared in this scope
while(~scanf("%d%d%d",&x,&y,&n)){
^
0_0_33209634_20923.cpp:20:7: error: 'i' was not declared in this scope
rep(i,0,n){
^
0_0_33209634_20923.cpp:20:12: error: 'rep' was not declared in this scope
rep(i,0,n){
^
0_0_33209634_20923.cpp:49:55: error: 'printf' was not declared in this scope
printf("(%.1lf,%.1lf).\n%.1lf\n",p[id].x,p[id].y,ans);
^
|