0_0_37477653_24621.cpp:5:1: error: 'homework' does not name a type
homework s[1100];
^
0_0_37477653_24621.cpp: In function 'int main()':
0_0_37477653_24621.cpp:22:41: error: 's' was not declared in this scope
for (int i = 1; i <= n; i++) cin >> s[i].time;
^
0_0_37477653_24621.cpp:23:41: error: 's' was not declared in this scope
for (int i = 1; i <= n; i++) cin >> s[i].score;
^
0_0_37477653_24621.cpp:24:10: error: 's' was not declared in this scope
sort(s + 1, s + n + 1, cmp);
^
|