백준2361 [백준/파이썬] 31656번 Sticky Keys -Code s = input() res, temp = "", "" for w in s: if temp != w: temp = w res += w print(res) 2024. 3. 26. [백준/파이썬] 31636번 三連続 (Three Consecutive) -Code input() print("Yes" if "ooo" in input() else "No") 2024. 3. 25. [백준/파이썬] 31616번 揃った文字 (Matched Letters) -Code input() print("Yes" if len(set(input())) == 1 else "No") 2024. 3. 24. [백준/파이썬] 31609번 現れている数字 (Appearing Numbers) -Code input() nums = sorted(set(list(map(int, input().split())))) for n in list(nums): print(n) 2024. 3. 23. [백준/파이썬] 31612번 画数数え (Stroke Count) -Code alpa = {"j": 2, "i": 2, "o": 1} res = 0 input() for w in input(): res += alpa[w] print(res) 2024. 3. 22. [백준/파이썬] 31654번 Adding Trouble -Code a, b, c = map(int, input().split()) print("correct!" if a + b == c else "wrong!") 2024. 3. 21. 이전 1 ··· 53 54 55 56 57 58 59 ··· 394 다음