Problem | wabot |
---|---|
User | Quackadodo110411 |
Submission Time | 2024-07-13 09:54:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:14:10: error: ‘pq’ was not declared in this scope
14 | while (pq[i].size()>1){
| ^~
wabot.cpp:16:4: error: ‘b’ was not declared in this scope
16 | b=pq[i].top();pq[i].pop();
| ^
wabot.cpp:18:4: error: ‘total’ was no