結果

問題 No.504 ゲーム大会(ランキング)
ユーザー zazaboonzazaboon
提出日時 2017-05-08 15:10:04
言語 Ruby
(3.3.0)
結果
AC  
実行時間 496 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 36 ms
コンパイル使用メモリ 11,544 KB
実行使用メモリ 15,552 KB
最終ジャッジ日時 2023-10-12 18:58:28
合計ジャッジ時間 5,776 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,136 KB
testcase_01 AC 77 ms
15,284 KB
testcase_02 AC 77 ms
15,160 KB
testcase_03 AC 77 ms
15,092 KB
testcase_04 AC 77 ms
15,092 KB
testcase_05 AC 78 ms
15,148 KB
testcase_06 AC 79 ms
15,088 KB
testcase_07 AC 485 ms
15,296 KB
testcase_08 AC 495 ms
15,552 KB
testcase_09 AC 492 ms
15,408 KB
testcase_10 AC 471 ms
15,552 KB
testcase_11 AC 491 ms
15,500 KB
testcase_12 AC 483 ms
15,548 KB
testcase_13 AC 484 ms
15,412 KB
testcase_14 AC 496 ms
15,496 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# Here your code !
n = gets.chomp.to_i
me = gets.chomp.to_i
c = 1
p 1
(n-1).times do
    d = gets.chomp.to_i
    c+=1 if(d > me)
    p c
end
0