Borderou de evaluare (job #2815934)

Utilizator TudosieRazvanTudosie Marius-Razvan TudosieRazvan Data 10 decembrie 2021 17:17:47
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:6: error: 'unordered_map' in namespace 'std' does not name a template type 10 | std::unordered_map< int , int > v; | ^~~~~~~~~~~~~ main.cpp:4:1: note: 'std::unordered_map' is defined in header '<unordered_map>'; did you forget to '#include <unordered_map>'? 3 | #include <algorithm> +++ |+#include <unordered_map> 4 | using namespace std; main.cpp: In function 'int main()': main.cpp:25:40: error: 'v' was not declared in this scope 25 | map<int,int>::iterator poz=v.find(x); | ^ main.cpp:40:40: error: 'v' was not declared in this scope 40 | map<int,int>::iterator poz=v.find(x); | ^ main.cpp:55:40: error: 'v' was not declared in this scope 55 | map<int,int>::iterator poz=v.find(x); | ^ Non zero exit status: 1

Ceva nu functioneaza?