Problem | fizzbuzz |
---|---|
User | itsLQ |
Submission Time | 2023-06-03 10:26:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:27:21: error: operands to ?: have different types ‘int’ and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’}
27 | cout << (r == "") ? i : r;
| ~~~~~~~~~~~~~~~~~~^~~~~~~