-
해결책) stoi()함수를 활용하여 문자열을 정수로 바꿔주었다.
※타입변환
int ---> string
: to_string(x)
string ---> int
: stoi(x)