結果

問題 No.84 悪の算盤
ユーザー convexineqconvexineq
提出日時 2020-12-03 08:24:56
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 71 bytes
コンパイル時間 679 ms
コンパイル使用メモリ 86,988 KB
実行使用メモリ 71,608 KB
最終ジャッジ日時 2023-10-11 17:11:26
合計ジャッジ時間 2,297 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,240 KB
testcase_01 AC 70 ms
70,872 KB
testcase_02 WA -
testcase_03 AC 72 ms
71,100 KB
testcase_04 AC 71 ms
71,216 KB
testcase_05 AC 73 ms
71,184 KB
testcase_06 WA -
testcase_07 AC 72 ms
71,216 KB
testcase_08 AC 73 ms
71,136 KB
testcase_09 AC 73 ms
71,204 KB
testcase_10 AC 74 ms
71,080 KB
testcase_11 AC 71 ms
71,124 KB
testcase_12 AC 72 ms
71,028 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

r,c = map(int,input().split())
x = (r*c+1)//2
if r==c: x//=2
print(x-1)
0