結果
問題 |
No.700 LOVE
|
ユーザー |
![]() |
提出日時 | 2018-06-18 01:08:20 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 424 bytes |
コンパイル時間 | 1,551 ms |
コンパイル使用メモリ | 111,456 KB |
実行使用メモリ | 25,968 KB |
最終ジャッジ日時 | 2024-06-30 16:42:11 |
合計ジャッジ時間 | 2,743 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 WA * 7 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Text; namespace y { class Program { static void Main(string[] args) { var n = Console.ReadLine().Split()[0]; var sb = new StringBuilder(); for (int i = 0; i < 2; i++) { sb.Append(Console.ReadLine()); } Console.WriteLine(sb.ToString().Contains("LOVE") ? "YES" : "NO"); } } }