0_0_16651370_23875.cpp:8:24: error: 'N' was not declared in this scope
treasure_node treasure[N];
^
0_0_16651370_23875.cpp: In function 'int main(int, char**)':
0_0_16651370_23875.cpp:21:18: error: 'treasure' was not declared in this scope
scanf("%d%d",&treasure[i].pi,&treasure[i].mi);
^
0_0_16651370_23875.cpp:23:8: error: 'treasure' was not declared in this scope
sort(treasure,treasure+n,cmp);
^
0_0_16651370_23875.cpp:23:31: error: 'sort' was not declared in this scope
sort(treasure,treasure+n,cmp);
^
|