結果
| 問題 | 
                            No.188 HAPPY DAY
                             | 
                    
| コンテスト | |
| ユーザー | 
                             yasuyuki0321
                         | 
                    
| 提出日時 | 2021-06-26 18:45:07 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 35 ms / 1,000 ms | 
| コード長 | 301 bytes | 
| コンパイル時間 | 150 ms | 
| コンパイル使用メモリ | 12,800 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-06-25 09:15:36 | 
| 合計ジャッジ時間 | 694 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 | 
ソースコード
import calendar
c = 0
for m in range(1, 13):
    d = calendar.monthrange(2015, m)[1]
    for j in range(1, d + 1):
        j = str(j)
        if len(j) == 1:
            if str(m) == j:
                c += 1
        else:
            if int(j[0]) + int(j[1]) == m:
                c += 1
print(c)
            
            
            
        
            
yasuyuki0321