結果

問題 No.239 にゃんぱすー
ユーザー simansiman
提出日時 2015-11-03 11:02:22
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 104 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 11,552 KB
実行使用メモリ 15,928 KB
最終ジャッジ日時 2023-10-11 13:13:30
合計ジャッジ時間 4,729 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,264 KB
testcase_01 AC 83 ms
15,120 KB
testcase_02 AC 83 ms
15,260 KB
testcase_03 AC 83 ms
15,304 KB
testcase_04 WA -
testcase_05 AC 84 ms
15,304 KB
testcase_06 AC 81 ms
15,160 KB
testcase_07 AC 82 ms
15,176 KB
testcase_08 WA -
testcase_09 AC 82 ms
15,296 KB
testcase_10 WA -
testcase_11 AC 83 ms
15,260 KB
testcase_12 AC 82 ms
15,288 KB
testcase_13 WA -
testcase_14 AC 82 ms
15,520 KB
testcase_15 AC 85 ms
15,404 KB
testcase_16 AC 84 ms
15,380 KB
testcase_17 AC 85 ms
15,284 KB
testcase_18 AC 85 ms
15,348 KB
testcase_19 AC 86 ms
15,336 KB
testcase_20 WA -
testcase_21 AC 86 ms
15,520 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 85 ms
15,656 KB
testcase_26 AC 85 ms
15,928 KB
testcase_27 AC 82 ms
15,088 KB
testcase_28 AC 83 ms
15,036 KB
testcase_29 AC 82 ms
15,300 KB
testcase_30 AC 82 ms
15,540 KB
testcase_31 AC 84 ms
15,488 KB
testcase_32 AC 85 ms
15,620 KB
testcase_33 AC 83 ms
15,484 KB
testcase_34 AC 86 ms
15,492 KB
testcase_35 AC 85 ms
15,624 KB
testcase_36 AC 86 ms
15,792 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
l=$<.read.split(?\n)
p (l.map(&:split).transpose.index{|s|
s.count('nyanpass')==n-1
}||-2)+1
0