0_0_38938701_30946.cpp:3:14: error: expected ']' before ';' token
3 | #define N 101;
| ^
0_0_38938701_30946.cpp:6:7: note: in expansion of macro 'N'
6 | int t[N],a[N2];
| ^
0_0_38938701_30946.cpp:6:8: error: expected unqualified-id before ']' token
6 | int t[N],a[N2];
| ^
0_0_38938701_30946.cpp:6:14: error: expected unqualified-id before ']' token
6 | int t[N],a[N2];
| ^
0_0_38938701_30946.cpp:5:16: error: expected ']' before ';' token
5 | #define N3 1100;
| ^
0_0_38938701_30946.cpp:9:6: note: in expansion of macro 'N3'
9 | }stu[N3];
| ^~
0_0_38938701_30946.cpp:9:8: error: expected unqualified-id before ']' token
9 | }stu[N3];
| ^
0_0_38938701_30946.cpp: In function 'int main()':
0_0_38938701_30946.cpp:18:24: error: 'a' was not declared in this scope
18 | cin >> a[i];
| ^
0_0_38938701_30946.cpp:19:17: error: 't' was not declared in this scope
19 | t[a[i]]++;
| ^
0_0_38938701_30946.cpp:23:20: error: 't' was not declared in this scope
23 | if(t[i]){
| ^
0_0_38938701_30946.cpp:24:25: error: 'stu' was not declared in this scope; did you mean 'std'?
24 | stu[p].id = i;
| ^~~
| std
0_0_38938701_30946.cpp:29:14: error: 'stu' was not declared in this scope; did you mean 'std'?
29 | sort(stu,stu+p,cmp);
| ^~~
| std
|