結果

問題 No.1603 Manhattan Social Distance
ユーザー KudeKude
提出日時 2021-07-16 21:22:30
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 288 ms
コンパイル使用メモリ 86,732 KB
実行使用メモリ 71,472 KB
最終ジャッジ日時 2023-09-20 12:53:51
合計ジャッジ時間 2,567 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,348 KB
testcase_01 AC 73 ms
71,148 KB
testcase_02 AC 69 ms
71,304 KB
testcase_03 AC 71 ms
71,256 KB
testcase_04 AC 71 ms
71,400 KB
testcase_05 AC 70 ms
71,376 KB
testcase_06 AC 71 ms
71,184 KB
testcase_07 AC 72 ms
71,444 KB
testcase_08 AC 71 ms
71,444 KB
testcase_09 AC 72 ms
71,472 KB
testcase_10 AC 71 ms
71,268 KB
testcase_11 AC 72 ms
71,452 KB
testcase_12 AC 72 ms
71,344 KB
testcase_13 AC 70 ms
71,372 KB
testcase_14 AC 70 ms
71,380 KB
testcase_15 AC 72 ms
71,256 KB
testcase_16 AC 72 ms
71,348 KB
testcase_17 AC 71 ms
71,360 KB
testcase_18 AC 71 ms
71,140 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, h, w = map(int, input().split())
a, b = n // 2, (n + 1) // 2
ans = a * b * (h - 1 + w - 1)
print(ans)
0