Problem | sandd |
---|---|
User | joshuabonang |
Submission Time | 2025-10-04 20:00:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:16:9: error: expected ‘,’ or ‘;’ before ‘if’
16 | if (s == d) {
| ^~
sandd.cpp:19:11: error: ‘else’ without a previous ‘if’
19 | } else if (s < d) {
| ^~~~