結果
| 問題 | No.700 LOVE |
| コンテスト | |
| ユーザー |
mizo
|
| 提出日時 | 2018-07-01 17:37:44 |
| 言語 | Ruby (4.0.6 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 54 ms / 2,000 ms |
| + 23µs | |
| コード長 | 114 bytes |
| 記録 | |
| コンパイル時間 | 10 ms |
| コンパイル使用メモリ | 9,088 KB |
| 実行使用メモリ | 14,592 KB |
| 最終ジャッジ日時 | 2026-08-23 14:47:04 |
| 合計ジャッジ時間 | 2,236 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - m Syntax OK
ソースコード
n , m = gets.chomp.split.map(&:to_i)
n.times do
if gets.include?("LOVE")
puts "YES"
exit
end
end
puts "NO"
mizo