Problem fizzbuzz
User shenshiqi
Submission Time 2025-02-12 15:35:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘std::string output(int, int, int)’:
fizzbuzz.cpp:7:14: error: could not convert ‘num’ from ‘int’ to ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
7 | else return num;
| ^~~
| |
| int