Problem party
User asbx
Submission Time 2024-06-25 10:29:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp:3:9: error: ‘ll’ does not name a type
3 | typedef ll long long
| ^~
party.cpp:5:1: error: ‘ll’ does not name a type
5 | ll ar[509];
| ^~
party.cpp: In function ‘int main()’:
party.cpp:8:2: error: ‘arr’ was not declared in this scope
8 | arr[1]=1;
| ^~~
party.cpp:9:2: error: ‘ll’ was not declared in this scope
9 | ll m,a,b;
| ^~
party.cpp:10:7: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
10 | cin>>m>>m;
| ^
| tm
party.cpp:11:8: error: expected ‘;’ before ‘i’
11 | for(ll i=0; i<m; i++){
| ^~
| ;
party.cpp:11:14: error: ‘i’ was not declared in this scope
11 | for(ll i=0; i<m; i++){
| ^
party.cpp:12:8: error: ‘a’ was not declared in this scope
12 | cin>>a>>b;
| ^
party.cpp:12:11: error: ‘b’ was not declar