結果
| 問題 | No.84 悪の算盤 |
| コンテスト | |
| ユーザー |
nari11111
|
| 提出日時 | 2014-12-03 00:07:55 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 147 bytes |
| 記録 | |
| コンパイル時間 | 126 ms |
| コンパイル使用メモリ | 77,372 KB |
| 最終ジャッジ日時 | 2025-12-03 13:19:42 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 WA * 2 |
ソースコード
R, C = map(int,raw_input().split())
s = R*C
if R==C:
print s/4
else:
if s%2==0:
print s/2-1
else:
print s/2
nari11111