Problem routine
User sukidaisukiii
Submission Time 2026-06-25 16:42:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

routine.cpp: In function ‘int main()’:
routine.cpp:10:12: error: expected unqualified-id before ‘=’ token
10 | for (int = 0; i < n; i++) {
| ^
routine.cpp:10:12: error: expected ‘;’ before ‘=’ token
routine.cpp:10:12: error: expected primary-expression before ‘=’ token
routine.cpp:10:17: error: ‘i’ was not declared in this scope
10 | for (int = 0; i < n; i++) {
| ^
routine.cpp:10:22: error: expected ‘)’ before ‘;’ token
10 | for (int = 0; i < n; i++) {
| ~ ^
| )
routine.cpp:10:24: error: ‘i’ was not declared in this scope
10 | for (int = 0; i < n; i++) {
| ^
routine.cpp:13:12: error: expected unqualified-id before ‘=’ token
13 | for (int = 0; i<n;i++) {
| ^
routine.cpp:13:12: error: expected ‘;’ before ‘=’ token
routine.cpp:13:12: error: expected primar