Borderou de evaluare (job #3278692)
Utilizator | Data | 20 februarie 2025 16:06:46 | |
---|---|---|---|
Problema | Secventa 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int nr(int)':
main.cpp:19:5: error: 'unordered_map' was not declared in this scope
19 | unordered_map<int,int> f;
| ^~~~~~~~~~~~~
main.cpp:10:1: note: 'std::unordered_map' is defined in header '<unordered_map>'; did you forget to '#include <unordered_map>'?
9 | #include <map>
+++ |+#include <unordered_map>
10 | using namespace std;
main.cpp:19:19: error: expected primary-expression before 'int'
19 | unordered_map<int,int> f;
| ^~~
main.cpp:22:9: error: 'f' was not declared in this scope
22 | f[v[r]]++;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !