結果

問題 No.1603 Manhattan Social Distance
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-07-16 21:25:10
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 83 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 86,812 KB
実行使用メモリ 71,668 KB
最終ジャッジ日時 2023-09-20 12:57:11
合計ジャッジ時間 2,586 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,320 KB
testcase_01 AC 73 ms
71,664 KB
testcase_02 AC 73 ms
71,396 KB
testcase_03 AC 74 ms
71,268 KB
testcase_04 AC 75 ms
71,320 KB
testcase_05 AC 74 ms
71,456 KB
testcase_06 AC 74 ms
71,340 KB
testcase_07 AC 73 ms
71,372 KB
testcase_08 AC 72 ms
71,256 KB
testcase_09 AC 73 ms
71,280 KB
testcase_10 AC 73 ms
71,428 KB
testcase_11 AC 72 ms
71,668 KB
testcase_12 AC 72 ms
71,576 KB
testcase_13 AC 73 ms
71,068 KB
testcase_14 AC 71 ms
71,212 KB
testcase_15 AC 74 ms
71,256 KB
testcase_16 AC 74 ms
71,520 KB
testcase_17 AC 73 ms
71,280 KB
testcase_18 AC 71 ms
71,572 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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