Borderou de evaluare (job #762241)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Elementul Majoritar (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 feb. 2024 14:37:40 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:13: error: 'v' was not declared in this scope
13 | in>>v[i];
| ^
main.cpp:20:17: error: 'a' was not declared in this scope
20 | if (a[j]==a[i])
| ^
main.cpp:25:19: error: 'a' was not declared in this scope
25 | x=a[i];
| ^