結果

問題 No.700 LOVE
ユーザー shibaaaashibaaaa
提出日時 2020-11-06 21:47:17
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 11,520 KB
実行使用メモリ 15,312 KB
最終ジャッジ日時 2023-09-29 18:35:20
合計ジャッジ時間 2,584 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,276 KB
testcase_01 AC 79 ms
15,168 KB
testcase_02 AC 76 ms
15,104 KB
testcase_03 AC 77 ms
15,120 KB
testcase_04 AC 77 ms
15,140 KB
testcase_05 WA -
testcase_06 AC 78 ms
15,308 KB
testcase_07 AC 79 ms
15,036 KB
testcase_08 WA -
testcase_09 AC 78 ms
15,028 KB
testcase_10 AC 78 ms
15,308 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 77 ms
15,080 KB
testcase_15 AC 77 ms
15,052 KB
testcase_16 AC 78 ms
15,116 KB
testcase_17 WA -
testcase_18 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

line = gets.split.map(&:to_i).first

result = ""
line.times do
  if gets.chomp.include?("LOVE")
    result = "YES"
  else
    result = "NO"
  end
end

puts result
0