結果

問題 No.2109 Special Week
ユーザー 👑 H20H20
提出日時 2022-10-28 21:27:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 1,005 ms
コンパイル使用メモリ 87,144 KB
実行使用メモリ 77,348 KB
最終ジャッジ日時 2023-09-20 04:09:39
合計ジャッジ時間 6,813 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
77,348 KB
testcase_01 AC 126 ms
77,096 KB
testcase_02 AC 126 ms
77,108 KB
testcase_03 AC 123 ms
76,880 KB
testcase_04 AC 125 ms
76,820 KB
testcase_05 AC 124 ms
76,868 KB
testcase_06 AC 123 ms
77,300 KB
testcase_07 AC 126 ms
77,100 KB
testcase_08 AC 124 ms
76,820 KB
testcase_09 AC 121 ms
77,040 KB
testcase_10 AC 120 ms
77,100 KB
testcase_11 AC 121 ms
76,892 KB
testcase_12 AC 123 ms
77,084 KB
testcase_13 AC 120 ms
77,104 KB
testcase_14 AC 123 ms
76,892 KB
testcase_15 AC 120 ms
76,984 KB
testcase_16 AC 121 ms
77,088 KB
testcase_17 AC 121 ms
76,824 KB
testcase_18 AC 121 ms
77,152 KB
testcase_19 AC 120 ms
76,896 KB
testcase_20 AC 122 ms
77,260 KB
testcase_21 AC 121 ms
77,344 KB
testcase_22 AC 122 ms
76,900 KB
testcase_23 AC 120 ms
76,916 KB
testcase_24 AC 122 ms
77,108 KB
testcase_25 AC 122 ms
77,108 KB
testcase_26 AC 123 ms
77,064 KB
testcase_27 AC 120 ms
77,184 KB
testcase_28 AC 122 ms
77,100 KB
testcase_29 AC 121 ms
77,180 KB
testcase_30 AC 122 ms
77,164 KB
testcase_31 AC 122 ms
77,088 KB
testcase_32 AC 123 ms
77,292 KB
testcase_33 AC 121 ms
77,108 KB
testcase_34 AC 126 ms
77,112 KB
testcase_35 AC 121 ms
76,900 KB
testcase_36 AC 122 ms
76,824 KB
testcase_37 AC 122 ms
77,268 KB
testcase_38 AC 123 ms
77,164 KB
testcase_39 AC 125 ms
77,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
import collections
M,D,K = map(int, input().split())
date = datetime.datetime(2022, M, D)
C = collections.Counter()
for _ in range(7):
    C+=collections.Counter(list(date.strftime('%m%d')))
    date += datetime.timedelta(days=1)
if len(C)>=K:
    print('Yes')
else:
    print('No')
0