結果
| 問題 |
No.780 オフ会
|
| コンテスト | |
| ユーザー |
s4na_penguin
|
| 提出日時 | 2020-11-06 21:51:04 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 257 bytes |
| コンパイル時間 | 187 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-07-22 12:41:31 |
| 合計ジャッジ時間 | 3,425 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 23 |
コンパイルメッセージ
Syntax OK
ソースコード
def love(params)
!params.index('LOVE').nil? ? 'YES' : 'NO'
end
def strs
strs = []
num = gets.split(' ').first.to_i
# p "num = #{num}"
num.times.each do
strs << gets
end
# p ''
# p strs.to_s
# p ''
strs.to_s
end
puts love(strs)
s4na_penguin