結果

問題 No.1603 Manhattan Social Distance
ユーザー simansiman
提出日時 2021-09-19 18:06:22
言語 Ruby
(3.3.0)
結果
AC  
実行時間 84 ms / 2,000 ms
コード長 100 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 11,364 KB
実行使用メモリ 15,344 KB
最終ジャッジ日時 2023-09-14 14:13:22
合計ジャッジ時間 3,133 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,172 KB
testcase_01 AC 80 ms
15,208 KB
testcase_02 AC 81 ms
15,284 KB
testcase_03 AC 80 ms
15,148 KB
testcase_04 AC 80 ms
15,244 KB
testcase_05 AC 84 ms
15,128 KB
testcase_06 AC 80 ms
15,160 KB
testcase_07 AC 80 ms
15,080 KB
testcase_08 AC 81 ms
15,068 KB
testcase_09 AC 80 ms
15,148 KB
testcase_10 AC 80 ms
14,960 KB
testcase_11 AC 80 ms
15,048 KB
testcase_12 AC 82 ms
14,960 KB
testcase_13 AC 81 ms
14,960 KB
testcase_14 AC 81 ms
15,008 KB
testcase_15 AC 80 ms
15,228 KB
testcase_16 AC 81 ms
15,344 KB
testcase_17 AC 81 ms
14,956 KB
testcase_18 AC 81 ms
15,204 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N, H, W = gets.split.map(&:to_i)

puts Rational(N, 2).floor * Rational(N, 2).ceil * (H - 1 + W - 1)
0