結果

問題 No.2109 Special Week
ユーザー bayashikobayashiko
提出日時 2022-10-11 22:16:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 90 ms / 2,000 ms
コード長 349 bytes
コンパイル時間 533 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 72,024 KB
最終ジャッジ日時 2023-09-07 23:56:03
合計ジャッジ時間 5,863 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
71,928 KB
testcase_01 AC 85 ms
71,676 KB
testcase_02 AC 85 ms
71,528 KB
testcase_03 AC 85 ms
71,716 KB
testcase_04 AC 88 ms
71,996 KB
testcase_05 AC 89 ms
71,836 KB
testcase_06 AC 90 ms
72,008 KB
testcase_07 AC 90 ms
71,532 KB
testcase_08 AC 86 ms
71,672 KB
testcase_09 AC 85 ms
71,980 KB
testcase_10 AC 88 ms
71,720 KB
testcase_11 AC 85 ms
71,572 KB
testcase_12 AC 88 ms
71,764 KB
testcase_13 AC 84 ms
71,964 KB
testcase_14 AC 83 ms
71,680 KB
testcase_15 AC 85 ms
71,580 KB
testcase_16 AC 86 ms
71,560 KB
testcase_17 AC 85 ms
71,772 KB
testcase_18 AC 84 ms
71,768 KB
testcase_19 AC 85 ms
71,576 KB
testcase_20 AC 85 ms
71,612 KB
testcase_21 AC 84 ms
71,720 KB
testcase_22 AC 86 ms
71,708 KB
testcase_23 AC 85 ms
71,528 KB
testcase_24 AC 87 ms
71,572 KB
testcase_25 AC 84 ms
71,704 KB
testcase_26 AC 83 ms
71,880 KB
testcase_27 AC 87 ms
71,888 KB
testcase_28 AC 86 ms
71,764 KB
testcase_29 AC 86 ms
71,588 KB
testcase_30 AC 87 ms
71,528 KB
testcase_31 AC 87 ms
71,696 KB
testcase_32 AC 85 ms
71,656 KB
testcase_33 AC 85 ms
71,512 KB
testcase_34 AC 88 ms
71,768 KB
testcase_35 AC 84 ms
72,024 KB
testcase_36 AC 85 ms
71,760 KB
testcase_37 AC 84 ms
71,720 KB
testcase_38 AC 88 ms
71,776 KB
testcase_39 AC 85 ms
71,724 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime

M,D,K=map(int,input().split())
lis = ['0','1','2','3','4','5','6','7','8','9']

dt=datetime.datetime(2022,M,D,0,0,0,0)
allday = ""
cnt = 0
for i in range(7):
    allday+=str(dt)[5:10]
    dt+=datetime.timedelta(days=1)
for i in range(10):
    if lis[i] in allday:
        cnt += 1
if cnt >= K:
    print("Yes")
else:
    print("No")
0