Borderou de evaluare (job #855279)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Adunare | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 26 feb. 2026 19:38:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:40: warning: variable 'cx' set but not used [-Wunused-but-set-variable]
29 | long long x, d, put, div, cnt, cx;
| ^~
main.cpp:110:18: error: invalid types 'int[long long int]' for array subscript
110 | c[cx] = 1;
| ^
main.cpp:119:17: error: invalid types 'int[long long int]' for array subscript
119 | if(c[v[i]] == 1)
| ^