結果
| 問題 | 
                            No.1213 sio
                             | 
                    
| コンテスト | |
| ユーザー | 
                             gew1fw
                         | 
                    
| 提出日時 | 2025-06-12 20:29:57 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 211 bytes | 
| コンパイル時間 | 273 ms | 
| コンパイル使用メモリ | 82,084 KB | 
| 実行使用メモリ | 53,472 KB | 
| 最終ジャッジ日時 | 2025-06-12 20:30:00 | 
| 合計ジャッジ時間 | 2,673 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 4 | 
| other | AC * 13 WA * 12 | 
ソースコード
# Read input
N, M = map(int, input().split())
# Calculate the maximum number of tetrominoes
K = (N * M) // 4
# Determine the minimal number of I tetrominoes
if N == 1 or M == 1:
    print(K)
else:
    print(0)
            
            
            
        
            
gew1fw