結果

問題 No.2109 Special Week
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-10-28 22:07:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 96 ms / 2,000 ms
コード長 295 bytes
コンパイル時間 645 ms
コンパイル使用メモリ 87,172 KB
実行使用メモリ 71,784 KB
最終ジャッジ日時 2023-09-20 05:06:18
合計ジャッジ時間 5,867 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
71,344 KB
testcase_01 AC 94 ms
71,512 KB
testcase_02 AC 94 ms
71,468 KB
testcase_03 AC 94 ms
71,552 KB
testcase_04 AC 95 ms
71,572 KB
testcase_05 AC 94 ms
71,684 KB
testcase_06 AC 93 ms
71,372 KB
testcase_07 AC 90 ms
71,384 KB
testcase_08 AC 92 ms
71,376 KB
testcase_09 AC 91 ms
71,664 KB
testcase_10 AC 91 ms
71,252 KB
testcase_11 AC 92 ms
71,660 KB
testcase_12 AC 92 ms
71,252 KB
testcase_13 AC 95 ms
71,452 KB
testcase_14 AC 94 ms
71,340 KB
testcase_15 AC 94 ms
71,500 KB
testcase_16 AC 96 ms
71,500 KB
testcase_17 AC 95 ms
71,668 KB
testcase_18 AC 93 ms
71,412 KB
testcase_19 AC 92 ms
71,544 KB
testcase_20 AC 92 ms
71,520 KB
testcase_21 AC 93 ms
71,348 KB
testcase_22 AC 92 ms
71,752 KB
testcase_23 AC 93 ms
71,248 KB
testcase_24 AC 94 ms
71,412 KB
testcase_25 AC 92 ms
71,572 KB
testcase_26 AC 92 ms
71,572 KB
testcase_27 AC 92 ms
71,488 KB
testcase_28 AC 93 ms
71,340 KB
testcase_29 AC 92 ms
71,676 KB
testcase_30 AC 94 ms
71,572 KB
testcase_31 AC 92 ms
71,752 KB
testcase_32 AC 92 ms
71,496 KB
testcase_33 AC 91 ms
71,516 KB
testcase_34 AC 94 ms
71,668 KB
testcase_35 AC 93 ms
71,520 KB
testcase_36 AC 94 ms
71,784 KB
testcase_37 AC 93 ms
71,380 KB
testcase_38 AC 94 ms
71,772 KB
testcase_39 AC 94 ms
71,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

m,d,k = map(int,input().split())

today = datetime.date(2022,m,d)
ans = set()
for i in range(7):
    s = str(today).split("-")[1:]
    for x in "".join(s):
        ans.add(x)
    today = today + datetime.timedelta(days=1)
if len(ans) >= k:
    print("Yes")
else:
    print("No")
0