結果

問題 No.84 悪の算盤
ユーザー convexineqconvexineq
提出日時 2020-12-03 08:26:04
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 86 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,032 KB
実行使用メモリ 71,544 KB
最終ジャッジ日時 2023-10-11 17:13:11
合計ジャッジ時間 2,152 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,544 KB
testcase_01 AC 74 ms
71,168 KB
testcase_02 AC 75 ms
71,124 KB
testcase_03 AC 77 ms
71,296 KB
testcase_04 AC 78 ms
71,540 KB
testcase_05 AC 75 ms
71,364 KB
testcase_06 AC 73 ms
71,428 KB
testcase_07 AC 73 ms
71,424 KB
testcase_08 AC 74 ms
71,296 KB
testcase_09 AC 75 ms
71,304 KB
testcase_10 AC 74 ms
71,300 KB
testcase_11 AC 74 ms
71,308 KB
testcase_12 AC 74 ms
71,288 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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