結果

問題 No.1213 sio
ユーザー gew1fw
提出日時 2025-06-12 18:09:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 82,232 KB
実行使用メモリ 53,940 KB
最終ジャッジ日時 2025-06-12 18:11:20
合計ジャッジ時間 1,910 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 13 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())

if n == 1 or m == 1:
    total = n * m
    if total < 4:
        print(0)
    else:
        print(total // 4)
else:
    print(0)
0