結果

問題 No.2109 Special Week
ユーザー wanuiwanui
提出日時 2022-10-28 21:30:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 8,868 KB
最終ジャッジ日時 2023-09-20 04:15:36
合計ジャッジ時間 2,864 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 19 ms
8,672 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 20 ms
8,672 KB
testcase_06 AC 19 ms
8,668 KB
testcase_07 AC 20 ms
8,784 KB
testcase_08 WA -
testcase_09 AC 19 ms
8,788 KB
testcase_10 AC 20 ms
8,784 KB
testcase_11 AC 19 ms
8,668 KB
testcase_12 AC 19 ms
8,732 KB
testcase_13 WA -
testcase_14 AC 19 ms
8,628 KB
testcase_15 AC 19 ms
8,652 KB
testcase_16 AC 19 ms
8,664 KB
testcase_17 AC 19 ms
8,580 KB
testcase_18 AC 18 ms
8,716 KB
testcase_19 AC 19 ms
8,764 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 19 ms
8,664 KB
testcase_26 WA -
testcase_27 AC 19 ms
8,716 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 19 ms
8,760 KB
testcase_36 AC 19 ms
8,584 KB
testcase_37 WA -
testcase_38 AC 19 ms
8,784 KB
testcase_39 AC 19 ms
8,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime


m,d,k=map(int,input().split())
times = set()
d=datetime.date(2001,m,d)
for i in range(7):
    for n in str(d.month).zfill(2):
        times.add(n)
    d=d+datetime.timedelta(days=1)
if len(times) >= k:
    print("Yes")
else:
    print("No")
0