Problem fizzbuzz
User fanqie
Submission Time 2023-11-22 22:57:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:9:8: error: invalid operands of types ‘int(const char*, ...)’ and ‘long long int’ to binary ‘operator>>’
9 | scanf >> N >> A >> B;
| ~~~~~ ^~ ~
| | |
| | long long int
| int(const char*, ...)
fizzbuzz.cpp:14:11: error: invalid operands of types ‘int(const char*, ...)’ and ‘const char [5]’ to binary ‘operator<<’
14 | printf << "Fizz";
| ~~~~~~ ^~ ~~~~~~
| | |
| | const char [5]
| int(const char*, ...)
fizzbuzz.cpp:16:11: error: invalid operands of types ‘int(const char*, ...)’ and ‘const char [5]’ to binary ‘operator<<’
16 | printf << "Buzz";
| ~~~~~~ ^~ ~~~~~~
| | |
| | const char [5]
| int(const char*, ...)
fizzbuzz.cpp:18:11: error: invalid operands of types ‘int(c