Problem | smurf |
---|---|
User | yc |
Submission Time | 2025-05-27 15:00:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int main()’:
smurf.cpp:20:2: error: expected ‘}’ before ‘else’
20 | else{
| ^~~~
smurf.cpp:16:15: note: to match this ‘{’
16 | if (n%2 ==0) {
| ^
smurf.cpp:29:1: error: expected ‘}’ at end of input
29 | }
| ^
smurf.cpp:7:14: note: to match this ‘{’
7 | signed main(){
| ^