Problem ccs
User themailcat
Submission Time 2026-01-14 22:46:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:2:12: error: ‘cin’ was not declared in this scope
2 | int n, q; cin >> n >> q;
| ^~~
ccs.cpp:3:5: error: ‘multiset’ was not declared in this scope
3 | multiset<int>asleep;
| ^~~~~~~~
ccs.cpp:3:14: error: expected primary-expression before ‘int’
3 | multiset<int>asleep;
| ^~~
ccs.cpp:5:9: error: ‘string’ was not declared in this scope
5 | string s; cin >> s;
| ^~~~~~
ccs.cpp:5:26: error: ‘s’ was not declared in this scope
5 | string s; cin >> s;
| ^
ccs.cpp:8:23: error: ‘asleep’ was not declared in this scope
8 | auto it = asleep.lower_bound(x+1);
| ^~~~~~
ccs.cpp:10:17: error: ‘cout’ was not declared in this scope
10 | cout << "NO" << '\n';