結果

問題 No.2109 Special Week
ユーザー 👑 timitimi
提出日時 2022-10-28 21:32:00
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 292 bytes
コンパイル時間 1,687 ms
コンパイル使用メモリ 86,876 KB
実行使用メモリ 71,904 KB
最終ジャッジ日時 2023-09-20 04:19:14
合計ジャッジ時間 6,130 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 97 ms
71,752 KB
testcase_01 AC 95 ms
71,628 KB
testcase_02 AC 95 ms
71,716 KB
testcase_03 AC 96 ms
71,456 KB
testcase_04 AC 96 ms
71,564 KB
testcase_05 WA -
testcase_06 AC 96 ms
71,596 KB
testcase_07 AC 94 ms
71,660 KB
testcase_08 AC 95 ms
71,748 KB
testcase_09 AC 93 ms
71,608 KB
testcase_10 AC 96 ms
71,480 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 96 ms
71,452 KB
testcase_14 AC 95 ms
71,588 KB
testcase_15 AC 94 ms
71,492 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 94 ms
71,428 KB
testcase_19 WA -
testcase_20 AC 93 ms
71,628 KB
testcase_21 AC 95 ms
71,472 KB
testcase_22 AC 96 ms
71,380 KB
testcase_23 AC 95 ms
71,620 KB
testcase_24 AC 95 ms
71,608 KB
testcase_25 WA -
testcase_26 AC 92 ms
71,792 KB
testcase_27 WA -
testcase_28 AC 95 ms
71,456 KB
testcase_29 AC 94 ms
71,568 KB
testcase_30 AC 93 ms
71,648 KB
testcase_31 AC 95 ms
71,636 KB
testcase_32 AC 96 ms
71,468 KB
testcase_33 AC 94 ms
71,568 KB
testcase_34 AC 94 ms
71,452 KB
testcase_35 AC 94 ms
71,816 KB
testcase_36 WA -
testcase_37 AC 93 ms
71,648 KB
testcase_38 AC 96 ms
71,716 KB
testcase_39 AC 95 ms
71,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

A=[]
import datetime
now=datetime.datetime(2023,M,D)
for i in range(K):
  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