結果
| 問題 | No.700 LOVE | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-11-06 21:40:02 | 
| 言語 | Ruby (3.4.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 144 bytes | 
| コンパイル時間 | 530 ms | 
| コンパイル使用メモリ | 7,552 KB | 
| 実行使用メモリ | 12,288 KB | 
| 最終ジャッジ日時 | 2024-07-22 12:29:16 | 
| 合計ジャッジ時間 | 2,818 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 3 | 
| other | WA * 16 | 
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - result Syntax OK
ソースコード
line = gets.split.map(&:to_i).first
result = ""
line.times do
  if gets.include?("love")
    result = "YES"
  else
    result = "NO"
  end
end
            
            
            
        