Problem urarareader
User Magenta
Submission Time 2026-06-23 10:54:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

urarareader.cpp: In function ‘int main()’:
urarareader.cpp:8:13: error: expected ‘;’ before ‘for’
8 | cin >> K
| ^
| ;
9 | for(int Y[i]=1; i<=n;i++) {
| ~~~
urarareader.cpp:9:21: error: ‘i’ was not declared in this scope
9 | for(int Y[i]=1; i<=n;i++) {
| ^
urarareader.cpp:9:24: error: ‘n’ was not declared in this scope
9 | for(int Y[i]=1; i<=n;i++) {
| ^
urarareader.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
urarareader.cpp:6:15: note: to match this ‘{’
6 | signed main() {
| ^