結果

問題 No.239 にゃんぱすー
ユーザー syarosyaro
提出日時 2016-02-23 00:23:06
言語 Ruby
(3.2.2)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 78 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 11,496 KB
実行使用メモリ 15,644 KB
最終ジャッジ日時 2023-08-27 01:32:50
合計ジャッジ時間 4,989 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,232 KB
testcase_01 AC 82 ms
14,996 KB
testcase_02 AC 82 ms
15,352 KB
testcase_03 AC 82 ms
15,124 KB
testcase_04 AC 82 ms
15,064 KB
testcase_05 AC 84 ms
15,068 KB
testcase_06 AC 85 ms
14,980 KB
testcase_07 AC 82 ms
15,004 KB
testcase_08 AC 82 ms
15,260 KB
testcase_09 AC 81 ms
15,224 KB
testcase_10 AC 82 ms
15,056 KB
testcase_11 AC 82 ms
15,052 KB
testcase_12 AC 82 ms
15,000 KB
testcase_13 AC 82 ms
15,060 KB
testcase_14 AC 84 ms
15,188 KB
testcase_15 AC 84 ms
15,212 KB
testcase_16 AC 84 ms
15,112 KB
testcase_17 AC 86 ms
15,120 KB
testcase_18 AC 84 ms
15,328 KB
testcase_19 AC 84 ms
15,480 KB
testcase_20 AC 83 ms
15,432 KB
testcase_21 AC 86 ms
15,264 KB
testcase_22 AC 86 ms
15,376 KB
testcase_23 AC 89 ms
15,352 KB
testcase_24 AC 86 ms
15,416 KB
testcase_25 AC 87 ms
15,376 KB
testcase_26 AC 86 ms
15,644 KB
testcase_27 AC 84 ms
15,120 KB
testcase_28 AC 82 ms
15,280 KB
testcase_29 AC 82 ms
14,976 KB
testcase_30 AC 86 ms
15,356 KB
testcase_31 AC 84 ms
15,296 KB
testcase_32 AC 84 ms
15,216 KB
testcase_33 AC 86 ms
15,136 KB
testcase_34 AC 87 ms
15,196 KB
testcase_35 AC 87 ms
15,268 KB
testcase_36 AC 86 ms
15,440 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - n
Syntax OK

ソースコード

diff #

n,*a=$<.map &:split;p (0..99).one?{|i|a.one?{|b|b[i]!='nyanpass'}&&X=i}?X+1:-1
0