알고리즘 문제 풀이/1DP_과제(~180615)
171122_1152_문자의 개수
#include #include using namespace std; int main(){ string str; getline(cin, str, '\n'); int l=str.size(); int cnt=0; int cnt_w=0; bool chk=0; for(int i=0; i
#include #include using namespace std; int main(){ string str; getline(cin, str, '\n'); int l=str.size(); int cnt=0; int cnt_w=0; bool chk=0; for(int i=0; i