結果

問題 No.2109 Special Week
ユーザー minimumminimum
提出日時 2022-10-28 22:19:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 379 bytes
コンパイル時間 540 ms
コンパイル使用メモリ 86,716 KB
実行使用メモリ 71,892 KB
最終ジャッジ日時 2023-09-20 05:21:45
合計ジャッジ時間 6,247 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
71,484 KB
testcase_01 AC 92 ms
71,556 KB
testcase_02 AC 91 ms
71,756 KB
testcase_03 AC 96 ms
71,732 KB
testcase_04 AC 92 ms
71,776 KB
testcase_05 AC 93 ms
71,868 KB
testcase_06 AC 95 ms
71,368 KB
testcase_07 AC 92 ms
71,644 KB
testcase_08 AC 94 ms
71,492 KB
testcase_09 AC 90 ms
71,488 KB
testcase_10 AC 91 ms
71,536 KB
testcase_11 AC 96 ms
71,840 KB
testcase_12 AC 91 ms
71,452 KB
testcase_13 AC 91 ms
71,452 KB
testcase_14 AC 93 ms
71,636 KB
testcase_15 AC 99 ms
71,492 KB
testcase_16 AC 91 ms
71,544 KB
testcase_17 AC 96 ms
71,364 KB
testcase_18 AC 91 ms
71,868 KB
testcase_19 AC 90 ms
71,804 KB
testcase_20 AC 92 ms
71,608 KB
testcase_21 AC 93 ms
71,456 KB
testcase_22 AC 90 ms
71,504 KB
testcase_23 AC 93 ms
71,636 KB
testcase_24 AC 92 ms
71,532 KB
testcase_25 AC 92 ms
71,844 KB
testcase_26 AC 90 ms
71,520 KB
testcase_27 AC 89 ms
71,892 KB
testcase_28 AC 92 ms
71,368 KB
testcase_29 AC 92 ms
71,840 KB
testcase_30 AC 92 ms
71,452 KB
testcase_31 AC 92 ms
71,528 KB
testcase_32 AC 92 ms
71,488 KB
testcase_33 AC 90 ms
71,476 KB
testcase_34 AC 90 ms
71,416 KB
testcase_35 AC 89 ms
71,736 KB
testcase_36 AC 91 ms
71,368 KB
testcase_37 AC 92 ms
71,864 KB
testcase_38 AC 90 ms
71,536 KB
testcase_39 AC 91 ms
71,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from datetime import datetime, date, timedelta

M, D, K = map(int, input().split())

now = datetime(year=1, month=M, day=D)

done = set()
for i in range(7):
    s = str(now.month).zfill(2)
    done.add(s[0])
    done.add(s[1])
    s = str(now.day).zfill(2)
    done.add(s[0])
    done.add(s[1])

    now += timedelta(1)

if len(done) >= K:
    print('Yes')
else:
    print('No')
0