Problem | snack |
---|---|
User | NgMinSong123 |
Submission Time | 2024-08-12 16:07:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snack.cpp: In function ‘int main()’:
snack.cpp:14:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if (temp == "M") {
| ^~~
snack.cpp:17:13: error: expected primary-expression before ‘long’
17 | count += long long(temp);
| ^~~~