Problem choochoo
User Cxt76
Submission Time 2024-11-08 13:03:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

choochoo.cpp: In function ‘int32_t main()’:
choochoo.cpp:8:22: error: expected ‘;’ before ‘for’
8 | cin >> numberofwords
| ^
| ;
9 | for (int i=0;i<=numberofwords;i++) {
| ~~~
choochoo.cpp:9:15: error: ‘i’ was not declared in this scope
9 | for (int i=0;i<=numberofwords;i++) {
| ^