結果

問題 No.700 LOVE
ユーザー saran1591saran1591
提出日時 2018-06-26 23:32:26
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 488 bytes
コンパイル時間 2,086 ms
コンパイル使用メモリ 101,972 KB
実行使用メモリ 23,360 KB
最終ジャッジ日時 2023-09-30 05:26:35
合計ジャッジ時間 4,407 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
21,248 KB
testcase_01 AC 76 ms
21,372 KB
testcase_02 AC 77 ms
21,336 KB
testcase_03 AC 78 ms
23,360 KB
testcase_04 AC 76 ms
19,228 KB
testcase_05 AC 76 ms
23,248 KB
testcase_06 AC 77 ms
21,260 KB
testcase_07 AC 77 ms
21,360 KB
testcase_08 AC 77 ms
19,208 KB
testcase_09 AC 77 ms
21,268 KB
testcase_10 AC 77 ms
23,236 KB
testcase_11 AC 76 ms
23,232 KB
testcase_12 AC 77 ms
21,336 KB
testcase_13 AC 78 ms
21,288 KB
testcase_14 AC 77 ms
23,284 KB
testcase_15 AC 77 ms
21,428 KB
testcase_16 AC 77 ms
23,336 KB
testcase_17 AC 77 ms
21,312 KB
testcase_18 AC 76 ms
21,332 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

namespace App
{
    class Program
    {
        static void Main(string[] args)
        {
            int ii = Convert.ToInt16(Console.ReadLine().Split()[0]);
            for (int i = 0; i < ii; i++)
            {
                if (Console.ReadLine().IndexOf("LOVE") >= 0)
                {
                    Console.WriteLine("YES");
                    return;
                }
            }
            Console.WriteLine("NO");
        }
    }
}
0