Problem fizzbuzz
User claireau
Submission Time 2024-06-05 21:39:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:13:8: error: ‘a’ was not declared in this scope
13 | if (i%a==0 && i%B==0){
| ^
fizzbuzz.cpp:17:17: error: expected ‘;’ before ‘)’ token
17 | result+="fizz");
| ^
| ;
fizzbuzz.cpp:19:9: error: expected primary-expression before ‘=’ token
19 | if (i%==0){
| ^
fizzbuzz.cpp:23:3: error: ‘ressult’ was not declared in this scope; did you mean ‘result’?
23 | ressult+=to_string(i);
| ^~~~~~~
| result