Problem colosseumbattle
User YH
Submission Time 2026-06-21 00:31:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colosseumbattle.cpp:5:9: error: ‘vector’ does not name a type
5 | typedef vector<long long> vll;
| ^~~~~~
colosseumbattle.cpp: In function ‘int main()’:
colosseumbattle.cpp:14:2: error: ‘vll’ was not declared in this scope; did you mean ‘ll’?
14 | vll a(n);
| ^~~
| ll
colosseumbattle.cpp:15:36: error: ‘a’ was not declared in this scope
15 | for (ll i = 0; i < n; i++) cin >> a[i];
| ^
colosseumbattle.cpp:17:2: error: ‘map’ was not declared in this scope
17 | map<ll,ll> mp;
| ^~~
colosseumbattle.cpp:2:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’?
1 | #include <iostream>
+++ |+#include <map>
2 | using namespace std;
colosseumbattle.cpp:17:8: error: expected primary-expression before ‘,’ token
17 | map<ll,ll> mp;
| ^
colo