結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
22,264 KB
testcase_01 WA -
testcase_02 AC 79 ms
22,188 KB
testcase_03 AC 81 ms
24,084 KB
testcase_04 AC 79 ms
24,300 KB
testcase_05 WA -
testcase_06 AC 81 ms
26,224 KB
testcase_07 AC 80 ms
24,252 KB
testcase_08 WA -
testcase_09 AC 81 ms
22,188 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 78 ms
24,056 KB
testcase_13 AC 81 ms
24,172 KB
testcase_14 AC 78 ms
24,444 KB
testcase_15 AC 78 ms
24,604 KB
testcase_16 WA -
testcase_17 AC 83 ms
22,252 KB
testcase_18 AC 78 ms
24,144 KB
testcase_19 WA -
testcase_20 AC 79 ms
26,476 KB
testcase_21 AC 78 ms
24,076 KB
testcase_22 WA -
testcase_23 AC 80 ms
24,404 KB
testcase_24 AC 81 ms
24,124 KB
testcase_25 AC 80 ms
26,336 KB
testcase_26 AC 83 ms
24,340 KB
testcase_27 AC 81 ms
26,180 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(), @"(.)\1{2}");
        Console.WriteLine(v.Success ? v.Value[0] == 'O' ? "Eastr" : "West" : "NA"); 
    }
}
0