Problem lineup
User j0ashhh
Submission Time 2026-02-17 09:27:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup.cpp: In function ‘int main()’:
lineup.cpp:13:8: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘push’
13 | cows.push({a,b});
| ^~~~
lineup.cpp:20:2: error: expected ‘,’ or ‘;’ before ‘for’
20 | for(int i=0; i<N; i++){
| ^~~
lineup.cpp:20:15: error: ‘i’ was not declared in this scope
20 | for(int i=0; i<N; i++){
| ^