Borderou de evaluare (job #3301916)

Utilizator superbibiHudea P. Victor superbibi Data 1 iulie 2025 10:32:47
Problema Secventa 5 Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long long int twop(int)': main.cpp:13:5: error: 'unordered_map' was not declared in this scope 13 | unordered_map<long long, int> mep; | ^~~~~~~~~~~~~ main.cpp:4:1: note: 'std::unordered_map' is defined in header '<unordered_map>'; did you forget to '#include <unordered_map>'? 3 | #include <iostream> +++ |+#include <unordered_map> 4 | using namespace std; main.cpp:13:19: error: expected primary-expression before 'long' 13 | unordered_map<long long, int> mep; | ^~~~ main.cpp:18:9: error: 'mep' was not declared in this scope 18 | mep[v[d]]++; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?