Problem | competition |
---|---|
User | dakingwawin |
Submission Time | 2024-01-16 16:15:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:9:40: error: template argument 2 is invalid
9 | pair<bool,<pair<int,pair<int, int>>>>A_marks[n];
| ^~
competition.cpp:11:25: error: request for member ‘second’ in ‘A_marks[i]’, which is of non-class type ‘int’
11 | cin>>A_marks[i].second.second.first;
| ^~~~~~
competition.cpp:14:25: error: request for member ‘second’ in ‘A_marks[i]’, which is of non-class type ‘int’
14 | cin>>A_marks[i].second.second.second;
| ^~~~~~
competition.cpp:15:20: error: request for member ‘second’ in ‘A_marks[i]’, which is of non-class type ‘int’
15 | A_marks[i].second.first=abs(A_marks.second.second.first-A_marks.second.second.second);
| ^~~~~~
competition.cpp:15:45: error: request for member ‘second’ in ‘A_m