結果
| 問題 |
No.84 悪の算盤
|
| コンテスト | |
| ユーザー |
nari11111
|
| 提出日時 | 2014-12-03 00:07:55 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 147 bytes |
| コンパイル時間 | 49 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,144 KB |
| 最終ジャッジ日時 | 2024-06-11 07:54:20 |
| 合計ジャッジ時間 | 785 ms |
|
ジャッジサーバー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