| Problem | problemsetter |
|---|---|
| User | RandomCtfNoob |
| Submission Time | 2026-01-12 17:07:38 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
problemsetter.cpp: In function ‘int main()’:
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:32:18: error: no match for ‘operator=’ (operand types are ‘std::pair<int, int>’ and ‘<unresolved overloaded function type>’)
32 | prob = problem.back;
| ^~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/