結果
| 問題 | 
                            No.188 HAPPY DAY
                             | 
                    
| コンテスト | |
| ユーザー | 
                             aki1026
                         | 
                    
| 提出日時 | 2020-05-12 22:49:26 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 31 ms / 1,000 ms | 
| コード長 | 429 bytes | 
| コンパイル時間 | 371 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-09-14 01:30:19 | 
| 合計ジャッジ時間 | 853 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 | 
ソースコード
#2月28
#30日まで 4,6,9,11月
import math
cnt=0
for i in range(1,13):
    for j in range(1,32):
        if i==2 and j==29:
            break
        if i==4 and j==30:
            break
        if i==6 and j==30:
            break
        if i==9 and j==30:
            break
        if i==11 and j==30:
            break
        manth=math.floor(j/10)
        day=j%10
        if i == manth+day:
            cnt+=1
print(cnt)
            
            
            
        
            
aki1026