본문 바로가기

분류 전체보기1523

[백준] 14681 1 2 3 4 5 6 a = int(input()) b=int (input()) if a>0 and b>0 : print(1) if a>0 and b 2020. 12. 16.
[백준] 14623 1 2 3 a=int(input(),2) b=int(input(),2) print (bin(a*b)[2:]) cs 2020. 12. 16.
[백준] 14470 1 2 3 4 5 6 7 8 9 10 a=int(input()) b=int(input()) c=int(input()) d=int(input()) e=int(input()) if a 2020. 12. 16.
[백준] 13866 1 2 a,b,c,d=map(int,input().split()) print(abs( a+b+c+d-(max(a,b,c,d))*2-(min(a,b,c,d))*2)) cs 2020. 12. 16.
[백준] 11948 1 2 3 4 5 6 7 a=int(input()) b=int(input()) c=int(input()) d=int(input()) e=int(input()) f=int(input()) print(max(a+b+c,a+b+d,a+c+d,b+c+d)+max(e,f)) cs 2020. 12. 16.
[백준] 11943 1 2 3 a,b=map(int,input().split()) c,d=map(int,input().split()) print(min(a+d,b+c)) cs 2020. 12. 16.
[백준] 10768 1 2 3 4 5 6 7 8 9 a=int(input()) b=int(input()) if a==1: print("Before") if a>2: print("After") if a==2: if b==18: print("Special") if b>18:print("After") if b 2020. 12. 16.
[백준] 10179 1 2 3 4 n=int(input()) for i in range(n): price=float (input()) print("$%.2f"%round(price*0.8,2)) cs 2020. 12. 16.
[백준] 10162 1 2 3 4 5 6 7 8 9 n=int(input()) if n%10!=0: print(-1) else : a=int (n/300) n%=300 b=int (n/60) n%=60 c=int(n/10) print("%d %d %d"%(a,b,c)) cs 2020. 12. 16.
[백준] 10156 1 2 3 a,b,c=map(int,input().split()) if a*b>c: print(a*b-c) else : print(0) cs 2020. 12. 16.
[백준] 10101 1 2 3 4 5 6 7 a=int(input()) b=int(input()) c=int(input()) if a==60 and a==b and b==c: print("Equilateral") elif a+b+c ==180 and (a==b or b==c or a==c): print("Isosceles") elif a+b+c==180: print("Scalene") else : print("Error") Colored by Color Scripter cs 2020. 12. 16.
[백준] 5893 1 2 a=input() print (bin( int(a,2)*17)[2:]) cs 2020. 12. 15.