結果
問題 | No.188 HAPPY DAY |
ユーザー |
|
提出日時 | 2020-07-21 18:48:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 597 bytes |
コンパイル時間 | 453 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-12-30 11:06:57 |
合計ジャッジ時間 | 791 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 1 |
ソースコード
# coding:utf-8import datetime as dtcalender = dt.datetime(2015, 1, 1)print(calender)year = 365ans = 0for i in range(year-1):calender += dt.timedelta(days=1)m = calender.monthd = calender.dayif d < 10:if m == 0 + d:ans += 1else:continueelif d < 20:if m == 1 + d:ans += 1else:continueelif d < 30:if m == 2 + d:ans += 1else:continueelse:if m == 3 + d:ans += 1else:continueprint(ans)