Problem gota
User PerihelionfromAphelion
Submission Time 2026-04-23 16:48:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gota.cpp: In function ‘int main()’:
gota.cpp:5:12: error: conflicting declaration ‘int a [106]’
5 | int a, n, a[106], i;
| ^
gota.cpp:5:6: note: previous declaration as ‘int a’
5 | int a, n, a[106], i;
| ^
gota.cpp:10:13: error: invalid types ‘int[int]’ for array subscript
10 | cin >> a[i];
| ^
gota.cpp:13:10: error: invalid types ‘int[int]’ for array subscript
13 | if (a[i] == a) found = true;
| ^