結果
問題 | No.1603 Manhattan Social Distance |
ユーザー |
![]() |
提出日時 | 2021-07-16 21:39:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 150 bytes |
コンパイル時間 | 339 ms |
コンパイル使用メモリ | 30,336 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-06 08:37:38 |
合計ジャッジ時間 | 955 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
#include <stdio.h>int main(){long long int a,b,c;scanf("%lld%lld%lld",&a,&b,&c);long long int d = a/2;printf("%lld\n",(b+c-2)*d*(a-d));}