Borderou de evaluare (job #2677098)
Utilizator | Data | 25 noiembrie 2020 19:56:05 | |
---|---|---|---|
Problema | Pairs | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:58:25: error: invalid types 'int[int]' for array subscript
ans += (1LL * (cnt[i] - 1) * cnt[i]) / 2;
^
main.cpp:58:39: error: invalid types 'int[int]' for array subscript
ans += (1LL * (cnt[i] - 1) * cnt[i]) / 2;
^
main.cpp:60:25: error: invalid types 'int[int]' for array subscript
ans -= (1LL * (cnt[i] - 1) * cnt[i]) / 2;
^
main.cpp:60:39: error: invalid types 'int[int]' for array subscript
ans -= (1LL * (cnt[i] - 1) * cnt[i]) / 2;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !