Problem uniquenumbers
User TheInvadr
Submission Time 2023-01-08 19:16:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin>>n;
| ^~~
uniquenumbers.cpp:4:5: error: ‘unordered_map’ was not declared in this scope
4 | unordered_map<unsigned long long int,int> map;
| ^~~~~~~~~~~~~
uniquenumbers.cpp:4:19: error: expected primary-expression before ‘unsigned’
4 | unordered_map<unsigned long long int,int> map;
| ^~~~~~~~
uniquenumbers.cpp:9:13: error: ‘map’ was not declared in this scope
9 | if(!map.count(x)){
| ^~~
uniquenumbers.cpp:14:5: error: ‘cout’ was not declared in this scope
14 | cout<<cnt;
| ^~~~