[알고리즘] 백준 2386 - 도비의 영어 공부 (C++) [문제 링크] : https://www.acmicpc.net/problem/2386#include using namespace std;string S;int main(){ int cnt; while(true){ cnt = 0; getline(cin, S); if(S[0] == '#'){ break; } if(S[0] >= 'A' && S[0] 알고리즘 2024.12.22