Problem ccs
User notachicken
Submission Time 2026-11-05 14:20:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:3:13: error: ‘lng’ was not declared in this scope; did you mean ‘log’?
3 | #define int lng log
| ^~~
ccs.cpp:8:5: note: in expansion of macro ‘int’
8 | int N, Q;
| ^~~
ccs.cpp:9:12: error: ‘N’ was not declared in this scope
9 | cin >> N >> Q;
| ^
ccs.cpp:9:17: error: ‘Q’ was not declared in this scope
9 | cin >> N >> Q;
| ^
ccs.cpp:10:12: error: template argument 2 is invalid
10 | set<int> sleep;
| ^
ccs.cpp:10:12: error: template argument 3 is invalid
ccs.cpp:3:17: error: expected ‘;’ before ‘log’
3 | #define int lng log
| ^~~
ccs.cpp:11:10: note: in expansion of macro ‘int’
11 | for (int i = 0; i < Q; i++){
| ^~~
ccs.cpp:11:21: error: ‘i’ was not declared in this scope
11