結果

問題 No.1603 Manhattan Social Distance
ユーザー Kude
提出日時 2021-07-16 21:22:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 82,524 KB
実行使用メモリ 53,260 KB
最終ジャッジ日時 2024-07-06 08:12:02
合計ジャッジ時間 1,388 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

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