0_0_35123000_648.cpp:9:1: error: expected ';' after struct definition
}
^
0_0_35123000_648.cpp: In function 'int main()':
0_0_35123000_648.cpp:22:41: error: 'struct todo' has no member named 'y'
scanf("%d %d",&A[i].s,&A[i].y);
^
0_0_35123000_648.cpp:24:14: error: 'R' was not declared in this scope
sort(R,R+n,com);
^
0_0_35123000_648.cpp:24:20: error: 'com' was not declared in this scope
sort(R,R+n,com);
^
|