結果

問題 No.700 LOVE
ユーザー shibaaaashibaaaa
提出日時 2020-11-06 21:44:51
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 11,476 KB
実行使用メモリ 15,400 KB
最終ジャッジ日時 2023-09-29 18:31:50
合計ジャッジ時間 2,345 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 72 ms
15,080 KB
testcase_02 AC 69 ms
15,136 KB
testcase_03 AC 68 ms
15,164 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 77 ms
15,156 KB
testcase_07 AC 73 ms
15,216 KB
testcase_08 WA -
testcase_09 AC 71 ms
15,080 KB
testcase_10 AC 73 ms
15,116 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 70 ms
15,128 KB
testcase_15 AC 73 ms
15,244 KB
testcase_16 AC 70 ms
15,132 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