Borderou de evaluare (job #2924336)
Utilizator | Data | 29 septembrie 2022 20:44:02 | |
---|---|---|---|
Problema | Loto | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:1: error: 'unordered_map' does not name a type
6 | unordered_map<int, T> h;
| ^~~~~~~~~~~~~
main.cpp:7:1: error: 'vector' does not name a type
7 | vector<int> a;
| ^~~~~~
main.cpp: In function 'void Citire()':
main.cpp:17:9: error: 'a' was not declared in this scope
17 | a.push_back(x);
| ^
main.cpp: In function 'void Rezolvare()':
main.cpp:24:25: error: 'a' was not declared in this scope
24 | for(i = 0; i < (int)a.size(); i++)
| ^
main.cpp:29:17: error: 'h' was not declared in this scope
29 | h[suma] = T{a[i], a[j], a[k]};
| ^
main.cpp:32:18: error: 'h' was not declared in this scope
32 | for(auto i : h)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !