Problem | fizzbuzz |
---|---|
User | claireau |
Submission Time | 2024-06-05 21:26:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:11:2: error: ‘String’ was not declared in this scope
11 | String result;
| ^~~~~~
fizzbuzz.cpp:12:7: error: ‘i’ was not declared in this scope
12 | for (i=1; i=>N;){
| ^
fizzbuzz.cpp:12:14: error: expected primary-expression before ‘>’ token
12 | for (i=1; i=>N;){
| ^
fizzbuzz.cpp:13:9: error: expected primary-expression before ‘=’ token
13 | if (i%==A;i%==B){
| ^
fizzbuzz.cpp:13:15: error: expected primary-expression before ‘=’ token
13 | if (i%==A;i%==B){
| ^
fizzbuzz.cpp:14:3: error: ‘result’ was not declared in this scope
14 | result+=to_string("fizzbuzz");
| ^~~~~~
fizzbuzz.cpp:14:31: error: no matching function for call to ‘to_string(const char [9])’
14 | result+=to_string("fizzbuzz");
| ^
In file included from