Problem fizzbuzz
User proter1132
Submission Time 2023-02-24 16:03:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:15: error: ‘int’ is not a template
7 | for(int i=0; int<n; i++)
| ^~~
fizzbuzz.cpp:7:15: error: expected primary-expression before ‘int’
fizzbuzz.cpp:7:14: error: expected ‘;’ before ‘int’
7 | for(int i=0; int<n; i++)
| ^~~~
| ;
fizzbuzz.cpp:7:15: error: expected primary-expression before ‘int’
7 | for(int i=0; int<n; i++)
| ^~~
fizzbuzz.cpp:7:14: error: expected ‘)’ before ‘int’
7 | for(int i=0; int<n; i++)
| ~ ^~~~
| )
fizzbuzz.cpp:7:15: error: declaration does not declare anything [-fpermissive]
7 | for(int i=0; int<n; i++)
| ^~~
fizzbuzz.cpp:7:22: error: ‘i’ was not declared in this scope
7 | for(int i=0; int<n; i++)
| ^