Problem fizzbuzz
User AltheaZ
Submission Time 2023-06-18 11:21:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:4:7: error: ‘n’ was not declared in this scope
4 | cin<<n<<a<<b;
| ^
fizzbuzz.cpp:4:10: error: ‘a’ was not declared in this scope
4 | cin<<n<<a<<b;
| ^
fizzbuzz.cpp:4:13: error: ‘b’ was not declared in this scope
4 | cin<<n<<a<<b;
| ^
fizzbuzz.cpp:5:7: error: ‘i’ was not declared in this scope
5 | for (i=1,i<=n,i++){
| ^
fizzbuzz.cpp:19:2: error: expected primary-expression before ‘return’
19 | return 0;
| ^~~~~~
fizzbuzz.cpp:18:3: error: expected ‘;’ before ‘return’
18 | }
| ^
| ;
19 | return 0;
| ~~~~~~
fizzbuzz.cpp:19:2: error: expected primary-expression before ‘return’
19 | return 0;
| ^~~~~~
fizzbuzz.cpp:18:3: error: expected ‘)’ before ‘return’
18 | }
|