Problem gota
User Pradhyun
Submission Time 2025-06-18 10:44:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gota.cpp: In function ‘int main()’:
gota.cpp:9:18: error: expected ‘;’ before ‘bool’
9 | cin >> A >> N
| ^
| ;
10 | bool found = false;
| ~~~~
gota.cpp:13:12: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
13 | cin >> num;
| ^~~
| enum
gota.cpp:15:5: error: ‘found’ was not declared in this scope; did you mean ‘round’?
15 | found = true;
| ^~~~~
| round
gota.cpp:17:4: error: expected ‘(’ before ‘found’
17 | if found{
| ^~~~~
| (
gota.cpp:19:4: error: ‘else’ without a previous ‘if’
19 | }{ else {
| ^~~~
gota.cpp:27:1: error: expected ‘}’ at end of input
27 | }
| ^
gota.cpp:7:14: note: to match this ‘{’
7 | signed main(){
| ^