結果

問題 No.564 背の順
ユーザー letrangerjp
提出日時 2017-09-08 23:46:20
言語 Ruby
(3.4.1)
結果
WA  
実行時間 -
コード長 66 bytes
コンパイル時間 447 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-11-07 12:18:54
合計ジャッジ時間 2,204 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6 WA * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: ambiguous first argument; put parentheses or a space even after `-' operator
Syntax OK

ソースコード

diff #

A=$<.map &:to_i
print -~i=A.count{|a|a>A[0]},[:st,:nd,:rd][i]||:th
0