Problem littlejohnny0
User Mimikyu
Submission Time 2026-02-15 09:27:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

littlejohnny0.cpp: In function ‘std::vector<int> solve(int)’:
littlejohnny0.cpp:52:4: error: expected ‘}’ before ‘else’
52 | else tm.push_back(i);
| ^~~~
littlejohnny0.cpp:34:27: note: to match this ‘{’
34 | if(ss.find(i)==ss.end()){
| ^
littlejohnny0.cpp: At global scope:
littlejohnny0.cpp:58:2: error: expected unqualified-id before ‘for’
58 | for(int i:tm)diff.insert(i);
| ^~~
littlejohnny0.cpp:59:2: error: ‘qc’ does not name a type
59 | qc=0;
| ^~
littlejohnny0.cpp:62:2: error: expected unqualified-id before ‘for’
62 | for(int i=1;i<=2*n;i++){
| ^~~
littlejohnny0.cpp:62:14: error: ‘i’ does not name a type
62 | for(int i=1;i<=2*n;i++){
| ^
littlejohnny0.cpp:62:21: error: ‘i’ does not name a type
62 | for(int i=1;i<=2*n;i++){
| ^
littlejohnny0.cpp:74:2: error: expect