Problem urarareader
User Dubidubidaphdaph
Submission Time 2026-06-23 11:15:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

urarareader.cpp: In function ‘int main()’:
urarareader.cpp:8:19: error: ‘n’ was not declared in this scope
8 | for (int i=0; i<=n, i++) {
| ^
urarareader.cpp:8:25: error: expected ‘;’ before ‘)’ token
8 | for (int i=0; i<=n, i++) {
| ^
| ;
urarareader.cpp:9:18: error: expected ‘;’ before string constant
9 | if (i>=K) {cout "YES \n"}
| ^~~~~~~~~
| ;
urarareader.cpp:10:13: error: expected ‘;’ before string constant
10 | else {cout "NO \n"}
| ^~~~~~~~
| ;