Problem problemsetter
User RandomCtfNoob
Submission Time 2026-01-12 17:06:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

problemsetter.cpp: In function ‘int main()’:
problemsetter.cpp:22:26: error: expected ‘;’ before ‘}’ token
22 | problem.push_back(temp)
| ^
| ;
23 | }
| ~
problemsetter.cpp:25:15: error: request for member ‘begin’ in ‘contest’, which is of non-class type ‘std::pair<int, int> [c]’
25 | sort(contest.begin(),contest.end(),greater<int>());
| ^~~~~
problemsetter.cpp:25:31: error: request for member ‘end’ in ‘contest’, which is of non-class type ‘std::pair<int, int> [c]’
25 | sort(contest.begin(),contest.end(),greater<int>());
| ^~~
problemsetter.cpp:29:30: error: request for member ‘size’ in ‘contest’, which is of non-class type ‘std::pair<int, int> [c]’
29 | for (int i = 0; i < contest.size(); i++){
| ^~~~
pr