結果

問題 No.999 てん vs. ほむ
ユーザー yuruhiyayuruhiya
提出日時 2021-08-19 17:57:45
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 72 bytes
コンパイル時間 56 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 40,192 KB
最終ジャッジ日時 2024-04-20 20:39:46
合計ジャッジ時間 12,258 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
12,416 KB
testcase_01 AC 80 ms
12,416 KB
testcase_02 AC 80 ms
12,160 KB
testcase_03 AC 81 ms
12,160 KB
testcase_04 AC 82 ms
12,160 KB
testcase_05 AC 81 ms
12,288 KB
testcase_06 AC 80 ms
12,288 KB
testcase_07 AC 82 ms
12,288 KB
testcase_08 AC 106 ms
12,996 KB
testcase_09 AC 722 ms
37,504 KB
testcase_10 AC 261 ms
19,328 KB
testcase_11 AC 200 ms
16,896 KB
testcase_12 AC 361 ms
23,040 KB
testcase_13 AC 762 ms
40,064 KB
testcase_14 AC 770 ms
40,064 KB
testcase_15 AC 774 ms
39,936 KB
testcase_16 AC 825 ms
40,192 KB
testcase_17 WA -
testcase_18 AC 694 ms
35,456 KB
testcase_19 WA -
testcase_20 AC 732 ms
35,968 KB
testcase_21 AC 756 ms
39,552 KB
testcase_22 AC 717 ms
38,912 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"A=#"+`tr ' ' ,`;X=0
a=A.each_slice(2).map{X+=_1-_2}
p a.max*2-a[-1]
0