結果

問題 No.700 LOVE
ユーザー pink_bangbipink_bangbi
提出日時 2020-11-06 21:34:47
言語 Ruby
(3.3.0)
結果
AC  
実行時間 90 ms / 2,000 ms
コード長 262 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 15,456 KB
最終ジャッジ日時 2023-09-30 05:59:39
合計ジャッジ時間 2,717 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
15,264 KB
testcase_01 AC 83 ms
15,392 KB
testcase_02 AC 84 ms
15,360 KB
testcase_03 AC 83 ms
15,224 KB
testcase_04 AC 84 ms
15,152 KB
testcase_05 AC 85 ms
15,268 KB
testcase_06 AC 83 ms
15,224 KB
testcase_07 AC 84 ms
15,156 KB
testcase_08 AC 86 ms
15,244 KB
testcase_09 AC 85 ms
15,224 KB
testcase_10 AC 84 ms
15,356 KB
testcase_11 AC 84 ms
15,260 KB
testcase_12 AC 85 ms
15,364 KB
testcase_13 AC 86 ms
15,396 KB
testcase_14 AC 85 ms
15,172 KB
testcase_15 AC 85 ms
15,456 KB
testcase_16 AC 84 ms
15,416 KB
testcase_17 AC 85 ms
15,268 KB
testcase_18 AC 84 ms
15,276 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

require "stringio"

using Module.new {
  refine TrueClass do
    def to_s
      "YES"
    end
  end
  refine FalseClass do
    def to_s
      "NO"
    end
  end
}

input = $stdin
puts input.gets.split.map(&:to_i).first.times.map { input.gets }.any?(/LOVE/).to_s
0