Problem gota
User Ivan16
Submission Time 2025-06-18 10:17:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gota.cpp: In function ‘int main()’:
gota.cpp:10:8: error: expected ‘(’ before ‘found’
10 | if found = false;
| ^~~~~
| (
gota.cpp:12:13: error: ‘numbers’ was not declared in this scope; did you mean ‘number’?
12 | if (numbers [i] == A){
| ^~~~~~~
| number
gota.cpp:13:13: error: ‘found’ was not declared in this scope; did you mean ‘round’?
13 | found = true;
| ^~~~~
| round
gota.cpp:17:9: error: ‘found’ was not declared in this scope; did you mean ‘round’?
17 | if (found) {
| ^~~~~
| round
gota.cpp:18:25: error: expected primary-expression before ‘;’ token
18 | cout << "YES" <<;
| ^
gota.cpp:20:24: error: expected primary-expression before ‘;’ token
20 | cout << "NO" <<;
|