結果
問題 |
No.486 3 Straight Win(3連勝)
|
ユーザー |
![]() |
提出日時 | 2018-06-15 01:23:08 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 265 bytes |
コンパイル時間 | 781 ms |
コンパイル使用メモリ | 108,660 KB |
実行使用メモリ | 28,588 KB |
最終ジャッジ日時 | 2024-06-30 14:38:52 |
合計ジャッジ時間 | 2,711 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 19 WA * 9 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; class No486{ static void Main(string[] args){ var s=Console.ReadLine(); var e=s.IndexOf("OOO"); var w=s.IndexOf("XXX"); if(e==w) Console.WriteLine("NA"); else Console.WriteLine((e<w)?"East":"West"); } }