Borderou de evaluare (job #2881333)
Utilizator | Data | 30 martie 2022 14:13:44 | |
---|---|---|---|
Problema | Pariuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: 'unordered_map' does not name a type
10 | unordered_map<int, pair<long long, bool>> castig;
| ^~~~~~~~~~~~~
main.cpp: In function 'void Citire()':
main.cpp:20:13: error: 'castig' was not declared in this scope
20 | castig[timp].first += bani;
| ^~~~~~
main.cpp: In function 'void Afisare()':
main.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i = 0; i < timpi.size(); i++) {
| ~~^~~~~~~~~~~~~~
main.cpp:33:9: error: 'castig' was not declared in this scope
33 | castig[timpi[i]].second = false;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !