9로 나눈 나머지

Subin·2024년 7월 25일

Algorithm

목록 보기
9/69
  • char → int
char c;
int n = c - '0';
  • string → int
string str;
int n = stoi(str);
profile
성장하며 꿈꾸는 삶을 살아가고 있는 대학생입니다😊

0개의 댓글