문자열1 백준 4999번 아! C++/문자열/브론즈5 https://www.acmicpc.net/problem/4999 4999번: 아! 입력은 두 줄로 이루어져 있다. 첫째 줄은 재환이가 가장 길게 낼 수 있는 "aaah"이다. 둘째 줄은 의사가 듣기를 원하는 "aah"이다. 두 문자열은 모두 a와 h로만 이루어져 있다. a의 개수는 0보다 크거 www.acmicpc.net 만약 자신이 낼 수 있는 길이보다 긴 병원이라면 no 아니라면 go #include #include using namespace std; int main() { //ios_base::sync_with_stdio(false); ios_base::sync_with_stdio(0); cin.tie(0); string a, b; cin >> a >> b; if (a.size() < b.siz.. 2023. 10. 26. 이전 1 다음