結果

問題 No.2109 Special Week
ユーザー prussian_coderprussian_coder
提出日時 2022-10-28 21:26:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 284 bytes
コンパイル時間 641 ms
コンパイル使用メモリ 86,952 KB
実行使用メモリ 72,012 KB
最終ジャッジ日時 2023-09-20 04:07:44
合計ジャッジ時間 5,846 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 97 ms
71,556 KB
testcase_01 AC 98 ms
71,680 KB
testcase_02 AC 98 ms
71,728 KB
testcase_03 AC 96 ms
71,648 KB
testcase_04 AC 96 ms
71,772 KB
testcase_05 AC 97 ms
71,688 KB
testcase_06 AC 96 ms
71,632 KB
testcase_07 AC 97 ms
72,012 KB
testcase_08 AC 97 ms
71,568 KB
testcase_09 AC 96 ms
71,704 KB
testcase_10 AC 97 ms
71,736 KB
testcase_11 AC 98 ms
71,664 KB
testcase_12 AC 98 ms
71,732 KB
testcase_13 AC 96 ms
71,592 KB
testcase_14 AC 98 ms
71,584 KB
testcase_15 AC 98 ms
71,664 KB
testcase_16 AC 96 ms
71,700 KB
testcase_17 AC 97 ms
71,700 KB
testcase_18 AC 97 ms
71,708 KB
testcase_19 AC 96 ms
71,700 KB
testcase_20 AC 96 ms
71,908 KB
testcase_21 AC 97 ms
71,600 KB
testcase_22 AC 98 ms
71,636 KB
testcase_23 AC 98 ms
71,728 KB
testcase_24 AC 98 ms
71,596 KB
testcase_25 AC 98 ms
71,568 KB
testcase_26 AC 99 ms
71,712 KB
testcase_27 AC 97 ms
71,652 KB
testcase_28 AC 100 ms
71,596 KB
testcase_29 AC 98 ms
71,656 KB
testcase_30 AC 99 ms
71,732 KB
testcase_31 AC 97 ms
71,720 KB
testcase_32 AC 97 ms
71,584 KB
testcase_33 AC 98 ms
71,776 KB
testcase_34 AC 97 ms
71,780 KB
testcase_35 AC 97 ms
71,576 KB
testcase_36 AC 95 ms
71,564 KB
testcase_37 AC 97 ms
71,940 KB
testcase_38 AC 98 ms
71,592 KB
testcase_39 AC 96 ms
71,588 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M,D,K=map(int,input().split())
import datetime
a=datetime.datetime(year=2022,month=M,day=D)
T=set()
for i in range(7):
	for s in str(a.month).zfill(2):
		T.add(s)
	for s in str(a.day).zfill(2):
		T.add(s)
	a=a+datetime.timedelta(days=1)
if len(T)>=K:
	print("Yes")
else:
	print("No")
0