結果
問題 | No.1603 Manhattan Social Distance |
ユーザー | wolgnik |
提出日時 | 2021-07-16 22:14:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 118 bytes |
コンパイル時間 | 156 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 53,556 KB |
最終ジャッジ日時 | 2024-07-06 09:33:45 |
合計ジャッジ時間 | 1,633 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
import sys input = sys.stdin.readline N, H, W = map(int, input().split()) print((H + W - 2) * (N // 2) * (N - N // 2))