사생활 보호 설정
https://gamjia.tistory.com
Updated News
Mini Rooms
답글수 [0]
What Friends Say
한마디로 표현해봐~
1촌평 관리
10809번 알파벳 찾기
GamJia 2023. 3. 24. 09:12
단계별로 풀어보기 - 문자열 - 3단계
https://www.acmicpc.net/problem/10809
#include <iostream> using namespace std; int main() { string S; string alphabet="abcdefghijklmnopqrstuvwxyz"; cin>>S; for(int i=0;i<alphabet.length();i++) { cout<<(int)S.find(alphabet[i])<<" "; } return 0; }