Problem lineup
User PlayVoltz
Submission Time 2023-08-14 20:58:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup.cpp: In function ‘int main()’:
lineup.cpp:7:2: error: ‘ll’ was not declared in this scope
7 | ll n, a, b;
| ^~
lineup.cpp:8:22: error: template argument 1 is invalid
8 | vector<pair<ll, ll> > vect;
| ^
lineup.cpp:8:22: error: template argument 2 is invalid
lineup.cpp:9:13: error: template argument 3 is invalid
9 | map <ll, ll> dict;
| ^
lineup.cpp:9:13: error: template argument 4 is invalid
lineup.cpp:10:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
10 | cin>>n;
| ^
| yn
lineup.cpp:11:9: error: expected ‘;’ before ‘i’
11 | for (ll i=0; i<n; ++i){
| ^~
| ;
lineup.cpp:11:15: error: ‘i’ was not declared in this scope
11 | for (ll i=0; i<n; ++i){
| ^
lineup.cpp:12:8: error: ‘a’ was not declared in this scope
12 |