Problem summoning
User yq
Submission Time 2026-06-26 16:51:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

summoning.cpp: In function ‘int main()’:
summoning.cpp:15:10: error: request for member ‘pop_back’ in ‘a’, which is of non-class type ‘int [j]’
15 | else a.pop_back();
| ^~~~~~~~
summoning.cpp:19:3: error: expected ‘,’ or ‘;’ before ‘for’
19 | for(int j : b){
| ^~~
summoning.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
summoning.cpp:3:15: note: to match this ‘{’
3 | signed main() {
| ^