Problem | lemonade2 |
---|---|
User | FIips |
Submission Time | 2024-12-14 14:06:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lemonade2.cpp: In function ‘int main()’:
lemonade2.cpp:76:24: error: operands to ?: have different types ‘const char*’ and ‘long long int’
76 | cout << ((ans >= inf) ? "-1" : ans);
| ~~~~~~~~~~~~~^~~~~~~~~~~~