結果
| 問題 | 
                            No.188 HAPPY DAY
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-11-21 21:27:21 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 334 bytes | 
| コンパイル時間 | 550 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-09-22 11:45:57 | 
| 合計ジャッジ時間 | 864 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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)