結果

問題 No.84 悪の算盤
ユーザー nari11111nari11111
提出日時 2014-12-03 00:06:27
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 99 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 6,672 KB
実行使用メモリ 6,148 KB
最終ジャッジ日時 2023-09-02 01:17:44
合計ジャッジ時間 1,046 ms
ジャッジサーバーID
(参考情報)
judge16 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
6,100 KB
testcase_01 AC 10 ms
5,992 KB
testcase_02 AC 9 ms
6,060 KB
testcase_03 AC 9 ms
5,856 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 10 ms
5,860 KB
testcase_08 AC 10 ms
6,056 KB
testcase_09 AC 10 ms
5,936 KB
testcase_10 AC 10 ms
6,048 KB
testcase_11 AC 10 ms
5,860 KB
testcase_12 AC 10 ms
6,148 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

R, C = map(int,raw_input().split())
s = R*C

if s%2==0:
    print s/2-1
else:
    print s/2
0