結果

問題 No.504 ゲーム大会(ランキング)
ユーザー Tsuneo YoshiokaTsuneo Yoshioka
提出日時 2017-04-21 23:18:38
言語 Ruby
(3.2.2)
結果
AC  
実行時間 224 ms / 2,000 ms
コード長 95 bytes
コンパイル時間 315 ms
コンパイル使用メモリ 11,336 KB
実行使用メモリ 15,412 KB
最終ジャッジ日時 2023-09-27 23:19:30
合計ジャッジ時間 4,993 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,336 KB
testcase_01 AC 84 ms
15,132 KB
testcase_02 AC 83 ms
15,140 KB
testcase_03 AC 84 ms
15,292 KB
testcase_04 AC 81 ms
15,144 KB
testcase_05 AC 83 ms
15,296 KB
testcase_06 AC 82 ms
15,044 KB
testcase_07 AC 221 ms
15,176 KB
testcase_08 AC 223 ms
15,300 KB
testcase_09 AC 222 ms
15,412 KB
testcase_10 AC 218 ms
15,160 KB
testcase_11 AC 221 ms
15,232 KB
testcase_12 AC 223 ms
15,356 KB
testcase_13 AC 216 ms
15,252 KB
testcase_14 AC 224 ms
15,408 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N=gets.to_i
a0=gets.to_i
no=1
puts no
(N-1).times{
    no += 1 if gets.to_i > a0
    puts no
}
0