| Problem | colosseumbattle |
|---|---|
| User | neoaix |
| Submission Time | 2026-06-25 10:30:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
colosseumbattle.cpp: In function ‘int main()’:
colosseumbattle.cpp:16:22: error: ‘k’ was not declared in this scope
16 | for (int i = k+1 ; i <=n ; i++){
| ^
colosseumbattle.cpp:24:31: error: ‘k’ was not declared in this scope
24 | for (int i = 1 ; i <= k; i++){
| ^
colosseumbattle.cpp:28:25: error: expected initializer before ‘-’ token
28 | auto tg - make_pair(l_sum, make_pair(0,0));
| ^
colosseumbattle.cpp:29:36: error: ‘r_sum’ was not declared in this scope; did you mean ‘l_sum’?
29 | auto it = lw_bound(r_sum.begin(), r_sum.end(), tg);
| ^~~~~
| l_sum
colosseumbattle.cpp:29:64: error: ‘tg’ was not declared in this scope; did you mean ‘tm’?
29 | auto it = lw_bound(r_sum.begin(), r_sum