結果

問題 No.2109 Special Week
ユーザー n_nan_na
提出日時 2022-10-29 03:18:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 276 bytes
コンパイル時間 483 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 71,972 KB
最終ジャッジ日時 2023-09-20 09:50:30
合計ジャッジ時間 6,079 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
71,828 KB
testcase_01 AC 90 ms
71,556 KB
testcase_02 AC 91 ms
71,924 KB
testcase_03 AC 90 ms
71,596 KB
testcase_04 AC 89 ms
71,908 KB
testcase_05 AC 91 ms
71,764 KB
testcase_06 AC 92 ms
71,564 KB
testcase_07 AC 92 ms
71,764 KB
testcase_08 AC 91 ms
71,760 KB
testcase_09 AC 91 ms
71,552 KB
testcase_10 AC 90 ms
71,688 KB
testcase_11 AC 94 ms
71,800 KB
testcase_12 AC 95 ms
71,876 KB
testcase_13 AC 95 ms
71,728 KB
testcase_14 AC 94 ms
71,692 KB
testcase_15 AC 91 ms
71,800 KB
testcase_16 AC 92 ms
71,972 KB
testcase_17 AC 94 ms
71,732 KB
testcase_18 AC 93 ms
71,764 KB
testcase_19 AC 93 ms
71,804 KB
testcase_20 AC 90 ms
71,568 KB
testcase_21 AC 91 ms
71,728 KB
testcase_22 AC 91 ms
71,904 KB
testcase_23 AC 90 ms
71,732 KB
testcase_24 AC 92 ms
71,596 KB
testcase_25 AC 93 ms
71,748 KB
testcase_26 AC 95 ms
71,576 KB
testcase_27 AC 93 ms
71,560 KB
testcase_28 AC 95 ms
71,728 KB
testcase_29 AC 97 ms
71,832 KB
testcase_30 AC 98 ms
71,824 KB
testcase_31 AC 92 ms
71,720 KB
testcase_32 AC 93 ms
71,760 KB
testcase_33 AC 93 ms
71,728 KB
testcase_34 AC 96 ms
71,708 KB
testcase_35 AC 94 ms
71,824 KB
testcase_36 AC 93 ms
71,584 KB
testcase_37 AC 92 ms
71,928 KB
testcase_38 AC 93 ms
71,732 KB
testcase_39 AC 94 ms
71,972 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

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

se = set()
A = datetime.date(2022,M,D)
for i in range(7):
    B = A + datetime.timedelta(i)
    C = B.strftime("%m%d")
    for j in range(len(C)):
        se.add(C[j])
        
if len(se) >= K: print("Yes")
else: print("No")
0