結果

問題 No.504 ゲーム大会(ランキング)
ユーザー maimai
提出日時 2017-04-21 22:22:33
言語 Ruby
(3.2.2)
結果
AC  
実行時間 440 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 11,236 KB
実行使用メモリ 15,636 KB
最終ジャッジ日時 2023-09-27 11:07:59
合計ジャッジ時間 5,768 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
15,260 KB
testcase_01 AC 72 ms
15,308 KB
testcase_02 AC 68 ms
15,248 KB
testcase_03 AC 68 ms
15,132 KB
testcase_04 AC 71 ms
15,248 KB
testcase_05 AC 72 ms
15,256 KB
testcase_06 AC 71 ms
15,116 KB
testcase_07 AC 440 ms
15,420 KB
testcase_08 AC 414 ms
15,560 KB
testcase_09 AC 413 ms
15,584 KB
testcase_10 AC 420 ms
15,476 KB
testcase_11 AC 422 ms
15,424 KB
testcase_12 AC 423 ms
15,468 KB
testcase_13 AC 408 ms
15,636 KB
testcase_14 AC 430 ms
15,476 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

def scan; gets.split.map(&:to_i); end

n = gets.to_i
v = gets.to_i
p 1
r = 1
(n-1).times{|i|
    r+=1 if v < gets.to_i
    p r
}
0