swift 알고리즘/문자열

백준 2908번 상수

쥐수 2023. 4. 21. 12:37
728x90

정답 : 

TMI : num[0]을 reversed를 한 뒤에 String으로 다시 변환 후 Int로 변환

728x90