結果

問題 No.2109 Special Week
ユーザー 👑 timitimi
提出日時 2022-10-28 21:33:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 1,751 ms
コンパイル使用メモリ 86,932 KB
実行使用メモリ 71,828 KB
最終ジャッジ日時 2023-09-20 04:21:15
合計ジャッジ時間 6,119 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
71,600 KB
testcase_01 AC 93 ms
71,580 KB
testcase_02 AC 93 ms
71,636 KB
testcase_03 AC 96 ms
71,460 KB
testcase_04 AC 94 ms
71,632 KB
testcase_05 AC 92 ms
71,828 KB
testcase_06 AC 91 ms
71,556 KB
testcase_07 AC 94 ms
71,412 KB
testcase_08 AC 96 ms
71,412 KB
testcase_09 AC 98 ms
71,588 KB
testcase_10 AC 97 ms
71,664 KB
testcase_11 AC 95 ms
71,608 KB
testcase_12 AC 93 ms
71,588 KB
testcase_13 AC 93 ms
71,536 KB
testcase_14 AC 95 ms
71,768 KB
testcase_15 AC 96 ms
71,436 KB
testcase_16 AC 96 ms
71,452 KB
testcase_17 AC 93 ms
71,408 KB
testcase_18 AC 98 ms
71,600 KB
testcase_19 AC 93 ms
71,668 KB
testcase_20 AC 94 ms
71,828 KB
testcase_21 AC 94 ms
71,704 KB
testcase_22 AC 94 ms
71,588 KB
testcase_23 AC 96 ms
71,672 KB
testcase_24 AC 93 ms
71,604 KB
testcase_25 AC 94 ms
71,604 KB
testcase_26 AC 94 ms
71,632 KB
testcase_27 AC 97 ms
71,580 KB
testcase_28 AC 93 ms
71,600 KB
testcase_29 AC 94 ms
71,636 KB
testcase_30 AC 92 ms
71,532 KB
testcase_31 AC 91 ms
71,592 KB
testcase_32 AC 92 ms
71,576 KB
testcase_33 AC 91 ms
71,600 KB
testcase_34 AC 92 ms
71,580 KB
testcase_35 AC 94 ms
71,456 KB
testcase_36 AC 95 ms
71,600 KB
testcase_37 AC 93 ms
71,508 KB
testcase_38 AC 93 ms
71,412 KB
testcase_39 AC 93 ms
71,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

A=[]
import datetime
now=datetime.datetime(2023,M,D)
for i in range(7):
  for j in range(5,7):
     A.append(str(now)[j])
  for j in range(8,10):
     A.append(str(now)[j])
  now+=datetime.timedelta(days=1)

if len(set(A))>=K:
  print('Yes')
else:
  print('No')
0