Problem ccs
User newperson
Submission Time 2024-06-19 14:45:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:36:13: error: expected ‘}’ before ‘else’
36 | else if (it==s.end()||r < *it) cout << "YES";
| ^~~~
ccs.cpp:30:9: note: to match this ‘{’
30 | {
| ^
ccs.cpp:36:22: error: ‘it’ was not declared in this scope; did you mean ‘i’?
36 | else if (it==s.end()||r < *it) cout << "YES";
| ^~
| i
ccs.cpp:36:35: error: ‘r’ was not declared in this scope
36 | else if (it==s.end()||r < *it) cout << "YES";
| ^
ccs.cpp: At global scope:
ccs.cpp:42:1: error: expected declaration before ‘}’ token
42 | }
| ^