結果

問題 No.111 あばばばば
ユーザー gigurururugigurururu
提出日時 2014-12-23 23:43:47
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 45 bytes
コンパイル時間 405 ms
コンパイル使用メモリ 11,376 KB
実行使用メモリ 19,828 KB
最終ジャッジ日時 2023-09-02 22:14:49
合計ジャッジ時間 7,516 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,160 KB
testcase_01 AC 81 ms
15,144 KB
testcase_02 AC 112 ms
15,252 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

p 2.step(n=gets.to_i,2).inject(0){|s,i|s+n-i}
0