iT邦幫忙

鐵人檔案

2023 iThome 鐵人賽
回列表
自我挑戰組

CPE 49題訓練 系列

30天挑戰寫完CPE 49題的題庫程式

鐵人鍊成 | 共 30 篇文章 | 1 人訂閱 訂閱系列文 RSS系列文
DAY 1

YKL49.UVA11321 Sort! Sort!! and Sort!!!

while 1: try: n,m=map(int,input().split()) if n==m==0: print(0,0) bre...

2023-09-05 ‧ 由 henry3965 分享
DAY 2

YKL25.UVA10041 Vito'sfamily YKL01.UVA10055 Hashmat the brave warrior

Vito'sfamily T=input() for t in range(int(T)): a=list(map(int,input().split()))...

2023-09-06 ‧ 由 henry3965 分享
DAY 3

YKL11.UVA10035 Primary Arithmetic

while True: try: a,b=map(int,input().split()) count=0 carry=0 if a==b==...

2023-09-07 ‧ 由 henry3965 分享
DAY 4

YKL08.UVA100 The 3n + 1 problem YKL13.UVA10929 You can say 11

The 3n + 1 problem while 1: try: a,b=map(int,input().split()) x,y=min(a,b),...

2023-09-08 ‧ 由 henry3965 分享
DAY 5

YKL34.UVA10101 Bangla Numbers

def ban(a): if a>=10000000: ban(a//10000000) print(' kuti',end="&qu...

2023-09-09 ‧ 由 henry3965 分享
DAY 6

YKL43.UVA10420 List of Conquests YKL32.UVA10008 What's Cryptanalysis

List of Conquests T=input() arr=[] for t in range(int(T)): a=list(input().split...

2023-09-10 ‧ 由 henry3965 分享
DAY 7

YKL14.UVA10222 Decode the Mad man YKL15.UVA10252 Common Permutation

Decode the Mad man arr=list("qwertyuiop[]asdfghjkl;'zxcvbnm,./") while...

2023-09-11 ‧ 由 henry3965 分享
DAY 8

YKL42.UVA490 Rotating Sentences

arr=[] while 1: try: arr.append(list(input())) except: break m=0 for i in...

2023-09-12 ‧ 由 henry3965 分享
DAY 9

YKL16.UVA272 TeX Quotes YKL18.UVA10038 Jolly Jumpers

TeX Quotes arr=[] while 1: try: arr.append(list(input())) except: break c=...

2023-09-13 ‧ 由 henry3965 分享
DAY 10

YKL37.UVA10056 What is the Probability? YKL12.UVA10170 The Hotel with Infinite Rooms

What is the Probability? T=input() for t in range(int(T)): m,p,k=map(float,inpu...

2023-09-14 ‧ 由 henry3965 分享