結果

問題 No.700 LOVE
ユーザー pirorirori_n712pirorirori_n712
提出日時 2018-07-28 15:13:54
言語 C#(csc)
(csc 3.9.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 368 bytes
コンパイル時間 2,146 ms
コンパイル使用メモリ 103,324 KB
実行使用メモリ 24,556 KB
最終ジャッジ日時 2023-08-16 17:42:39
合計ジャッジ時間 4,685 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
24,388 KB
testcase_01 AC 76 ms
20,396 KB
testcase_02 AC 74 ms
24,420 KB
testcase_03 AC 77 ms
24,556 KB
testcase_04 AC 76 ms
22,400 KB
testcase_05 AC 76 ms
24,356 KB
testcase_06 AC 78 ms
22,456 KB
testcase_07 AC 74 ms
22,420 KB
testcase_08 AC 74 ms
22,408 KB
testcase_09 AC 74 ms
22,324 KB
testcase_10 AC 75 ms
22,544 KB
testcase_11 AC 74 ms
22,388 KB
testcase_12 AC 75 ms
22,336 KB
testcase_13 AC 75 ms
22,528 KB
testcase_14 AC 77 ms
24,372 KB
testcase_15 AC 76 ms
22,288 KB
testcase_16 AC 76 ms
24,368 KB
testcase_17 WA -
testcase_18 AC 75 ms
22,276 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;

class No700{
    static void Main(){
        var a=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray();
        var b="NO";
        for(int i=0;i<a[0];++i){
            if(Console.ReadLine().IndexOf("LOVE")>0){
                b="YES";
                break;
            }
        }
        Console.WriteLine(b);
    }
}
0