Problem fizzbuzz
User lololol
Submission Time 2024-02-09 09:35:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:6:11: error: initializer in range-based ‘for’ loop
6 | for(int i=1:i<=n;i++){
| ^
fizzbuzz.cpp:6:18: error: expected ‘)’ before ‘;’ token
6 | for(int i=1:i<=n;i++){
| ~ ^
| )
fizzbuzz.cpp:6:19: error: ‘i’ was not declared in this scope
6 | for(int i=1:i<=n;i++){
| ^