Problem wabot
User Quackadodo110411
Submission Time 2024-07-13 09:51:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wabot.cpp: In function ‘int32_t main()’:
wabot.cpp:6:12: error: expected initializer before ‘total’
6 | int n,a,b total=0;
| ^~~~~
wabot.cpp:8:46: error: expected unqualified-id before ‘>’ token
8 | priority_queue<int,vector<int>,greater<int>>>pq[1300005];
| ^
wabot.cpp:9:22: error: expected ‘)’ before numeric constant
9 | for (int i=0;i<n;i++0){
| ~ ^
| )
wabot.cpp:9:23: error: expected ‘;’ before ‘)’ token
9 | for (int i=0;i<n;i++0){
| ^
| ;
wabot.cpp:13:6: error: expected ‘(’ before numeric constant
13 | for 9int i=0;i<=1300000;i++){
| ^~~~
| (
wabot.cpp:13:6: error: unable to find numeric literal operator ‘operator""int’
13 | for 9int i=0;i<=1300000;i++){
|