Problem topical
User G
Submission Time 2024-03-06 22:05:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:21:9: error: expected unqualified-id before ‘=’ token
21 | for(int=1;i<=n;i++) modules.pushback(i);
| ^
topical.cpp:21:9: error: expected ‘;’ before ‘=’ token
21 | for(int=1;i<=n;i++) modules.pushback(i);
| ^
| ;
topical.cpp:21:9: error: expected primary-expression before ‘=’ token
topical.cpp:21:12: error: ‘i’ was not declared in this scope
21 | for(int=1;i<=n;i++) modules.pushback(i);
| ^
topical.cpp:21:16: error: expected ‘)’ before ‘;’ token
21 | for(int=1;i<=n;i++) modules.pushback(i);
| ~ ^
| )
topical.cpp:21:17: error: ‘i’ was not declared in this scope
21 | for(int=1;i<=n;i++) modules.pushback(i);
| ^