結果
問題 | No.2109 Special Week |
ユーザー |
![]() |
提出日時 | 2022-10-28 21:26:01 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 2,000 ms |
コード長 | 284 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 82,216 KB |
実行使用メモリ | 55,744 KB |
最終ジャッジ日時 | 2024-07-06 00:24:12 |
合計ジャッジ時間 | 2,784 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 |
ソースコード
M,D,K=map(int,input().split())import datetimea=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")