
[Level 1, C++] 문자열 다루기 기본
·
정리 전 게시글/공부 관련
#include #include using namespace std; bool solution(string s) { if(s.length() == 4 || s.length() == 6) { if (s.length() == to_string(atoi(s.c_str())).length()) return true; else return false; } else return false; }