Borderou de evaluare (job #3130006)
Utilizator | Data | 16 mai 2023 16:37:17 | |
---|---|---|---|
Problema | Muzica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:16:10: error: 'unordered_map' is not a member of 'std'
16 | std::unordered_map<long long int, long long int> dj;
| ^~~~~~~~~~~~~
main.cpp:5:1: note: 'std::unordered_map' is defined in header '<unordered_map>'; did you forget to '#include <unordered_map>'?
4 | #include <algorithm>
+++ |+#include <unordered_map>
5 | long long int n, m, a, b, c, d, e, x, nr;
main.cpp:16:24: error: expected primary-expression before 'long'
16 | std::unordered_map<long long int, long long int> dj;
| ^~~~
main.cpp:28:9: error: 'dj' was not declared in this scope; did you mean 'd'?
28 | dj.insert({x, x});
| ^~
| d
main.cpp:37:24: error: 'dj' was not declared in this scope; did you mean 'd'?
37 | auto pozitie = dj.find(a);
| ^~
| d
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !