Problem | seagame |
---|---|
User | AltheaZ |
Submission Time | 2023-11-06 11:22:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
seagame.cpp: In function ‘int main()’:
seagame.cpp:40:2: error: expected ‘}’ before ‘else’
40 | else{
| ^~~~
seagame.cpp:38:24: note: to match this ‘{’
38 | if (costs.size()%2==0){
| ^
seagame.cpp:41:33: error: expected ‘;’ before ‘}’ token
41 | cout<<cost[(costs.size()+1)/2]
| ^
| ;
42 | }
| ~