結果
| 問題 |
No.1213 sio
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 15:10:54 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 82,780 KB |
| 実行使用メモリ | 53,528 KB |
| 最終ジャッジ日時 | 2025-06-12 15:11:18 |
| 合計ジャッジ時間 | 2,054 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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