Laimingi skaičiai

Taškai: 0

Compile: FAIL

laimingi_skaiciai.cpp: In function ‘bool isHappy(int)’: laimingi_skaiciai.cpp:27:5: error: ‘unordered_set’ was not declared in this scope unordered_set<int> seen; ^ laimingi_skaiciai.cpp:27:19: error: expected primary-expression before ‘int’ unordered_set<int> seen; ^ laimingi_skaiciai.cpp:30:22: error: ‘seen’ was not declared in this scope while (n != 1 && seen.count(n) == 0) { ^

nr.resulttimemessage