結果
問題 | No.1603 Manhattan Social Distance |
ユーザー |
![]() |
提出日時 | 2021-07-16 21:27:09 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 163 bytes |
コンパイル時間 | 123 ms |
コンパイル使用メモリ | 27,520 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 08:17:37 |
合計ジャッジ時間 | 827 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
#include<stdio.h> int main() { long long int n, h, w; scanf("%lld %lld %lld", &n, &h, &w); printf("%lld\n", (n / 2) * ((n + 1) / 2) * (h + w - 2)); return 0; }