Problem | fizzbuzz |
---|---|
User | fanqie |
Submission Time | 2023-11-22 22:56:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:7:8: error: request for member ‘tie’ in ‘scanf’, which is of non-class type ‘int(const char*, ...)’
7 | scanf.tie(0); printf.tie(0);
| ^~~
fizzbuzz.cpp:7:23: error: request for member ‘tie’ in ‘printf’, which is of non-class type ‘int(const char*, ...)’
7 | scanf.tie(0); printf.tie(0);
| ^~~
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