top of page

소스 코드 제출

공개·회원 72명

n=[]

c=[]


for i in range(4):

x,y=input().split()

x=int(x)

y=int(y

n.append(x)

c.append(y)


for i in range(4):

f=0

x = (n[i]-c[i]) * 60

f+=x

if x<=60:

continue

elif x<=300:

x+=x/20

elif x > 240:

f-=x

x=240

f+=x

o+=x



if f >= 900:

o-=o/20


print(f//30*5000)

3회 조회
주소 : 경기도 용인시 광교중앙로 302 블루 스퀘어 602호
연락처 : 031) 216 - 1546 ,     031) 215 - 1546
사업자등록번호 : 465-92-00916
​학원 등록 제 4603호
bottom of page