結果
| 問題 | No.188 HAPPY DAY |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-11-21 21:27:21 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 334 bytes |
| 記録 | |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 16,092 KB |
| 最終ジャッジ日時 | 2026-04-10 17:45:55 |
| 合計ジャッジ時間 | 1,370 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
import calendar
c = calendar.Calendar()
total = 0
for i in range(1, 13):
m = c.monthdatescalendar(2015, i)
for a in m:
for b in a:
if b.year == 2015:
split_day = str(b.day).zfill(2)
if i == int(split_day[0]) + int(split_day[1]):
total += 1
print(total)