結果
問題 | No.2109 Special Week |
ユーザー |
![]() |
提出日時 | 2022-10-28 21:27:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 46 ms / 2,000 ms |
コード長 | 299 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 60,672 KB |
最終ジャッジ日時 | 2024-07-06 00:25:35 |
合計ジャッジ時間 | 3,016 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 |
ソースコード
import datetimeimport collectionsM,D,K = map(int, input().split())date = datetime.datetime(2022, M, D)C = collections.Counter()for _ in range(7):C+=collections.Counter(list(date.strftime('%m%d')))date += datetime.timedelta(days=1)if len(C)>=K:print('Yes')else:print('No')