Problem colosseumbattle
User YellowKing
Submission Time 2026-06-25 10:44:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colosseumbattle.cpp: In function ‘int main()’:
colosseumbattle.cpp:2:17: error: ‘cin’ was not declared in this scope
2 | long long n;cin>>n;
| ^~~
colosseumbattle.cpp:3:5: error: ‘vector’ was not declared in this scope
3 | vector<long long> A(n);
| ^~~~~~
colosseumbattle.cpp:3:12: error: expected primary-expression before ‘long’
3 | vector<long long> A(n);
| ^~~~
colosseumbattle.cpp:5:8: error: ‘A’ was not declared in this scope
5 | cin>>A[i];
| ^
colosseumbattle.cpp:10:7: error: ‘A’ was not declared in this scope
10 | if(A[i]=A[j]){
| ^
colosseumbattle.cpp:11:5: error: ‘cout’ was not declared in this scope
11 | cout<<i<<" "<<i<<" "<<j<<" "<<j;
| ^~~~