結果
問題 |
No.2109 Special Week
|
ユーザー |
![]() |
提出日時 | 2022-10-29 03:18:46 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 276 bytes |
コンパイル時間 | 247 ms |
コンパイル使用メモリ | 82,316 KB |
実行使用メモリ | 55,832 KB |
最終ジャッジ日時 | 2024-07-06 05:24:37 |
合計ジャッジ時間 | 2,712 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 |
ソースコード
import datetime M,D,K = map(int,input().split()) se = set() A = datetime.date(2022,M,D) for i in range(7): B = A + datetime.timedelta(i) C = B.strftime("%m%d") for j in range(len(C)): se.add(C[j]) if len(se) >= K: print("Yes") else: print("No")