Submission #62835


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def year(n):
if n % 4 == 0:
if n % 100 == 0:
if n % 400 == 0:
return 366
else:
return 365
else:
return 366
else:
return 365
y = int(input())
n = int(input())
u = int(input())
m = int(input())
if year(y)*n*u <= m:
print("YES")
else:
print("NO")

ステータス

項目 データ
問題 0009 - パスタ
ユーザー名 shobonvip
投稿日時 2020-08-21 20:28:42
言語 Python3
状態 Accepted
得点 1
ソースコード長 292 Byte
最大実行時間 40 ms
最大メモリ使用量 3272 KB

セット

セット 得点 Cases
1 ALL 1 / 1 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
Alice_in1.txt AC 36 ms 3268 KB
1
Alice_in2.txt AC 34 ms 3272 KB
1
Alice_in3.txt AC 40 ms 3252 KB
1