Kiek kartų?

Taškai: 0

Compile: FAIL

kiek_kartu.cpp: In function ‘int main()’: kiek_kartu.cpp:9:5: error: ‘unordered_map’ was not declared in this scope 9 | unordered_map<int, int> daznis; | ^~~~~~~~~~~~~ kiek_kartu.cpp:2:1: note: ‘std::unordered_map’ is defined in header ‘<unordered_map>’; did you forget to ‘#include <unordered_map>’? 1 | #include <iostream> +++ |+#include <unordered_map> 2 | kiek_kartu.cpp:9:19: error: expected primary-expression before ‘int’ 9 | unordered_map<int, int> daznis; | ^~~ kiek_kartu.cpp:14:9: error: ‘daznis’ was not declared in this scope 14 | daznis[a]++; | ^~~~~~ kiek_kartu.cpp:20:17: error: ‘daznis’ was not declared in this scope 20 | cout << daznis[a] << endl; | ^~~~~~

nr.resulttimemessage