結果

問題 No.682 Average
ユーザー 0w10w1
提出日時 2018-10-21 13:48:10
言語 Ruby
(3.2.2)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 50 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 11,404 KB
実行使用メモリ 15,304 KB
最終ジャッジ日時 2023-08-12 05:42:51
合計ジャッジ時間 2,373 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
15,136 KB
testcase_01 AC 85 ms
15,244 KB
testcase_02 AC 82 ms
15,160 KB
testcase_03 AC 83 ms
15,048 KB
testcase_04 AC 82 ms
15,036 KB
testcase_05 AC 83 ms
15,304 KB
testcase_06 AC 82 ms
15,260 KB
testcase_07 AC 84 ms
15,036 KB
testcase_08 AC 83 ms
15,100 KB
testcase_09 AC 82 ms
15,036 KB
testcase_10 AC 82 ms
15,252 KB
testcase_11 AC 82 ms
15,140 KB
testcase_12 AC 81 ms
15,104 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b=`dd`.split.map(&:to_i)
p (a+b+b)/3-(a+b+a-1)/3
0