[C++] 프로그래머스 숫자 문자열과 영단어


[C++] 프로그래머스 숫자 문자열과 영단어

문제 소스 코드 #include <string> #include <vector> #include <map> #include <iostream> #define pr string,string using namespace std; map<pr> hash_; void init_hash() { hash_.insert(make_pair("zero", "0")); hash_.insert(make_pair("one", "1")); hash_.insert(make_pair("two", "2")); hash_.insert(make_pair("three", "3")); hash_.insert(make_pair("four", "4")); hash_.insert(make_pair("five", "5")); hash_.insert(make_pair("six", "6")); hash_.insert(make_pair("seven", "7")); hash_.insert(make_pair("eight", "8"))...



원문링크 : [C++] 프로그래머스 숫자 문자열과 영단어