結果

問題 No.486 3 Straight Win(3連勝)
ユーザー keymoonkeymoon
提出日時 2019-02-23 18:18:24
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 508 bytes
コンパイル時間 2,053 ms
コンパイル使用メモリ 101,356 KB
実行使用メモリ 26,640 KB
最終ジャッジ日時 2023-08-20 17:48:46
合計ジャッジ時間 5,920 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 95 ms
24,504 KB
testcase_01 WA -
testcase_02 AC 96 ms
24,308 KB
testcase_03 AC 95 ms
24,280 KB
testcase_04 AC 96 ms
24,464 KB
testcase_05 WA -
testcase_06 AC 96 ms
24,556 KB
testcase_07 AC 95 ms
24,348 KB
testcase_08 WA -
testcase_09 AC 96 ms
24,372 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 95 ms
26,348 KB
testcase_13 AC 95 ms
24,468 KB
testcase_14 AC 95 ms
26,328 KB
testcase_15 AC 95 ms
22,332 KB
testcase_16 WA -
testcase_17 AC 96 ms
26,400 KB
testcase_18 AC 95 ms
24,432 KB
testcase_19 WA -
testcase_20 AC 96 ms
24,416 KB
testcase_21 AC 95 ms
26,364 KB
testcase_22 WA -
testcase_23 AC 96 ms
24,420 KB
testcase_24 AC 96 ms
26,404 KB
testcase_25 AC 96 ms
26,528 KB
testcase_26 AC 95 ms
24,268 KB
testcase_27 AC 96 ms
24,324 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.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
using Int = System.Int64;
using Debug = System.Diagnostics.Debug;

class P
{
    static void Main()
    {
        var v = Regex.Match(Console.ReadLine(), @"(OOO|XXX)");
        Console.WriteLine(v.Success ? v.Value[0] == 'O' ? "Eastr" : "West" : "NA"); 
    }
}
0