結果

問題 No.1603 Manhattan Social Distance
ユーザー ProgrammerryokiProgrammerryoki
提出日時 2021-07-16 21:56:26
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 88 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 86,860 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-09-20 13:47:46
合計ジャッジ時間 2,922 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,188 KB
testcase_01 AC 71 ms
71,232 KB
testcase_02 AC 72 ms
71,200 KB
testcase_03 AC 74 ms
71,228 KB
testcase_04 AC 71 ms
71,276 KB
testcase_05 AC 71 ms
70,924 KB
testcase_06 AC 75 ms
71,236 KB
testcase_07 AC 74 ms
71,136 KB
testcase_08 AC 73 ms
71,236 KB
testcase_09 AC 72 ms
71,072 KB
testcase_10 AC 72 ms
71,312 KB
testcase_11 AC 72 ms
71,240 KB
testcase_12 AC 71 ms
71,476 KB
testcase_13 AC 71 ms
70,936 KB
testcase_14 AC 74 ms
71,188 KB
testcase_15 AC 74 ms
71,088 KB
testcase_16 AC 73 ms
71,132 KB
testcase_17 AC 74 ms
71,292 KB
testcase_18 AC 74 ms
71,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,H,W = [int(i) for i in input().split()]
S = H+W-2
print((S)*((N // 2)*(N+(N&1)) // 2))
0