[CF] 4C - Registration System

I learned some basics of C/C++, including scanf and cin, how to use hashMap in C, etc.
My Solution
Store the value in a hashMap, use the name as key and the number of times it appeared as value and just store+print.
Idea:
1 |
|
Official Solution
pretty much the same
Thoughts
I learned how to use C++ documentations to checkup functions
Also, a bit about how to use hashMap in C++
Also learned a bit about scanf and cin differences and how to mix C with C++ to write code (because scanf(C) is faster but C++ provides some good libraries.)