백준 2948 2009년
1 2 3 4 import datetime days=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"] d,m=map(int,input().split()) print(days[(datetime.date(2009,m,d)).weekday()]) cs
2022. 1. 19.
백준 14173 Square Pasture
1 2 3 4 5 6 x1,y1,x2,y2=map(int,input().split()) x3,y3,x4,y4=map(int,input().split()) xMax,xMin=max(x1,x2,x3,x4),min(x1,x2,x3,x4) yMax,yMin=max(y1,y2,y3,y4),min(y1,y2,y3,y4) sqaure=max(xMax-xMin,yMax-yMin) print(sqaure**2) cs
2022. 1. 10.