Problem | charges |
---|---|
User | Dynonychus |
Submission Time | 2024-01-11 20:49:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
charges.cpp: In function ‘int main()’:
charges.cpp:22:8: error: expected primary-expression before ‘;’ token
22 | int b=;0
| ^
charges.cpp:22:10: error: expected ‘;’ before ‘char’
22 | int b=;0
| ^
| ;
23 | char c;
| ~~~~
charges.cpp:31:8: error: ‘c’ was not declared in this scope
31 | cin>>c>>a>>b;
| ^
charges.cpp:38:4: error: expected ‘,’ or ‘;’ before ‘pair’
38 | pair<int, bool> pap = par(b);
| ^~~~
charges.cpp:40:20: error: ‘pap’ was not declared in this scope; did you mean ‘pa’?
40 | if (pa.first != pap.first)
| ^~~
| pa
charges.cpp:50:4: error: expected ‘,’ or ‘;’ before ‘pair’
50 | pair<int, bool> papup = par(b);
| ^~~~
charges.cpp:52:22: error: ‘papup’ was not declared in this scope; did you mean ‘papu’?
52