Problem | fizzbuzz |
---|---|
User | claireau |
Submission Time | 2024-06-05 21:27:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
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:31: error: no matching function for call to ‘to_string(const char [9])’
14 | result+=to_string("fizzbuzz");
| ^
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/i