Problem basketball
User Batigol
Submission Time 2025-11-16 22:04:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

basketball.cpp: In function ‘int main()’:
basketball.cpp:3:13: error: expected ‘;’ before ‘vector’
3 | #define vll vector<ll>
| ^~~~~~
basketball.cpp:12:2: note: in expansion of macro ‘vll’
12 | vll ball(n);
| ^~~
basketball.cpp:14:8: error: ‘ball’ was not declared in this scope
14 | cin>>ball[i];
| ^~~~
basketball.cpp:35:14: error: ‘ball’ was not declared in this scope
35 | for(auto i:ball){
| ^~~~
basketball.cpp:36:23: error: no matching function for call to ‘std::vector<std::pair<long long int, long long int> >::push_back(<brace-enclosed initializer list>)’
36 | arr.push_back({i,0});
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr