Borderou de evaluare (job #3250411)
Utilizator | Data | 20 octombrie 2024 18:33:21 | |
---|---|---|---|
Problema | Loto | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:28: error: template argument 2 is invalid
18 | unordered_map <int, numbers> fr;
| ^
main.cpp:18:28: error: template argument 5 is invalid
main.cpp: In function 'int main()':
main.cpp:32:35: error: invalid types 'int[int]' for array subscript
32 | fr[pos].one = v[i];
| ^
main.cpp:33:35: error: invalid types 'int[int]' for array subscript
33 | fr[pos].two = v[j];
| ^
main.cpp:34:35: error: invalid types 'int[int]' for array subscript
34 | fr[pos].three = v[k];
| ^
main.cpp:36:40: error: request for member 'count' in 'fr', which is of non-class type 'int'
36 | if (fr.count(pos))
| ^~~~~
main.cpp:39:51: error: invalid types 'int[int]' for array subscript
39 | fout << fr[pos].one << ' ' << fr[pos].two << ' ' << fr[pos].three;
| ^
main.cpp:39:73: error: invalid types 'int[int]' for array subscript
39 | fout << fr[pos].one << ' ' << fr[pos].two << ' ' << fr[pos].three;
| ^
main.cpp:39:95: error: invalid types 'int[int]' for array subscript
39 | fout << fr[pos].one << ' ' << fr[pos].two << ' ' << fr[pos].three;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !