Problem wabot
User dacashew
Submission Time 2023-02-02 14:59:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wabot.cpp: In function ‘int main()’:
wabot.cpp:41:5: error: ‘else’ without a previous ‘if’
41 | } else{
| ^~~~
wabot.cpp: At global scope:
wabot.cpp:45:2: error: ‘cout’ does not name a type
45 | cout<<ans;
| ^~~~
wabot.cpp:46:1: error: expected declaration before ‘}’ token
46 | }
| ^