Problem | competition |
---|---|
User | dakingwawin |
Submission Time | 2024-01-15 15:34:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:9:41: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
9 | pair<false,<pair<int,pair<int, int>>>>A_marks[n];
| ^~
competition.cpp:9:41: note: expected a type, got ‘false’
competition.cpp:9:41: error: template argument 2 is invalid
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