結果

問題 No.564 背の順
ユーザー letrangerjpletrangerjp
提出日時 2017-09-08 23:48:49
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 71 bytes
コンパイル時間 241 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-04-25 02:43:14
合計ジャッジ時間 1,739 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 96 ms
12,160 KB
testcase_01 AC 88 ms
12,288 KB
testcase_02 AC 90 ms
12,160 KB
testcase_03 WA -
testcase_04 AC 86 ms
12,288 KB
testcase_05 AC 86 ms
12,288 KB
testcase_06 AC 87 ms
12,160 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 87 ms
12,288 KB
testcase_10 AC 87 ms
12,160 KB
testcase_11 AC 86 ms
12,288 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

A=$<.map &:to_i
puts"#{1+i=A.count{|a|a>A[0]}}#{[:st,:nd,:rd][i]||:th}"
0