| Problem | fizzbuzz |
|---|---|
| User | XiYangYang |
| Submission Time | 2026-01-24 18:07:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:16:7: error: no match for ‘operator!’ (operand type is ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
16 | if (!res) res = to_string(i);
| ^~~~
fizzbuzz.cpp:16:7: note: candidate: ‘operator!(bool)’ <built-in>
fizzbuzz.cpp:16:7: note: no known conversion for argument 1 from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’