Problem competition
User dakingwawin
Submission Time 2024-01-11 11:13:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin>>n;
| ^~~
competition.cpp:6:5: error: ‘pair’ was not declared in this scope
6 | pair<bool<pair<int,pair<int, int>>A_marks[n];
| ^~~~
competition.cpp:6:10: error: ‘bool’ is not a template
6 | pair<bool<pair<int,pair<int, int>>A_marks[n];
| ^~~~
competition.cpp:6:10: error: expected primary-expression before ‘bool’
competition.cpp:8:14: error: ‘A_marks’ was not declared in this scope
8 | cin>>A_marks[i].second.second.first;
| ^~~~~~~
competition.cpp:11:14: error: ‘A_marks’ was not declared in this scope
11 | cin>>A_marks[i].second.second.second;
| ^~~~~~~
competition.cpp:12:33: error: ‘abs’ was not declared in this scope
12 | A_marks[i].se