Borderou de evaluare (job #2908454)
Utilizator | Data | 3 iunie 2022 16:41:18 | |
---|---|---|---|
Problema | Dtcsu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:18: error: array bound is not an integer constant before ']' token
8 | vector <ll> v[mod];
| ^
main.cpp: In function 'void add(ll)':
main.cpp:13:6: error: 'v' was not declared in this scope
13 | v[f(x)].push_back(x);
| ^
main.cpp: In function 'bool cauta(ll)':
main.cpp:16:17: error: 'v' was not declared in this scope
16 | for(auto i:v[f(x)]){
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !