iT邦幫忙

鐵人檔案

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

CPE 49題訓練 系列

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

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

YKL22.UVA10221 Satellites YKL30.UVA10193 All You Need Is Love

Satellites import math while 1: try: r,d,n=input().split() r,d=int(r)+6440,...

2023-09-25 ‧ 由 henry3965 分享
DAY 22

YKL38.UVA10242 Fourth Point!!

Fourth Point!! while 1: try: a=list(map(float,input().split())) if a[0]==a[...

2023-09-26 ‧ 由 henry3965 分享
DAY 23

YKL26.UVA10057 A mid-summer night’s dream

A mid-summer night’s dream while 1: try: T=input() arr=[] for t in range(...

2023-09-27 ‧ 由 henry3965 分享
DAY 24

YKL23.UVA10062 Tell me the frequencies!

Tell me the frequencies! c=0 while 1: try: a=list(input()) if c!=0: prin...

2023-09-28 ‧ 由 henry3965 分享
DAY 25

YKL44.UVA10226 Hardwood species

Hardwood species T=input() space=input() for t in range(int(T)): if t>0: p...

2023-09-29 ‧ 由 henry3965 分享
DAY 26

YKL24.UVA10189 Minesweeper

Minesweeper c=1 while 1: try: a,b=map(int,input().split()) if a==b==0: b...

2023-09-30 ‧ 由 henry3965 分享
DAY 27

YKL39.UVA10409 Die Game

Die Game while 1: try: a=[1,6,3,4,2,5] T=input() if T=='0': break fo...

2023-10-01 ‧ 由 henry3965 分享
DAY 28

YKL05.UVA11150 Cola YKL33.UVA299 Train Swapping

Cola while 1: try: a=int(input()) print(int(a+a/2)) except: break Train...

2023-10-02 ‧ 由 henry3965 分享
DAY 29

YKL27.UVA11332 Summing Digits YKL09.UVA10931 Parity

Summing Digits while 1: try: a=str(input()) if a=='0': break while int...

2023-10-03 ‧ 由 henry3965 分享
DAY 30

YKL10.UVA12019 Doom's Day Algorithm YKL47.UVA11005 Cheapest Base

Doom's Day Algorithm month=[0,31,28,31,30,31,30,31,31,30,31,30,31] day=['Friday'...

2023-10-04 ‧ 由 henry3965 分享