結果

問題 No.486 3 Straight Win(3連勝)
ユーザー wonda_t_coffeewonda_t_coffee
提出日時 2020-01-29 10:31:43
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 76 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 11,272 KB
実行使用メモリ 15,352 KB
最終ジャッジ日時 2023-10-14 05:20:38
合計ジャッジ時間 4,142 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
15,124 KB
testcase_01 AC 85 ms
15,284 KB
testcase_02 AC 85 ms
15,096 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 84 ms
15,096 KB
testcase_06 AC 84 ms
15,332 KB
testcase_07 WA -
testcase_08 AC 85 ms
15,144 KB
testcase_09 WA -
testcase_10 AC 84 ms
15,036 KB
testcase_11 AC 85 ms
15,224 KB
testcase_12 WA -
testcase_13 AC 84 ms
15,036 KB
testcase_14 AC 85 ms
15,304 KB
testcase_15 AC 85 ms
15,268 KB
testcase_16 AC 85 ms
15,128 KB
testcase_17 AC 85 ms
15,144 KB
testcase_18 AC 84 ms
15,288 KB
testcase_19 AC 84 ms
15,212 KB
testcase_20 AC 85 ms
15,248 KB
testcase_21 AC 85 ms
15,164 KB
testcase_22 AC 85 ms
15,232 KB
testcase_23 WA -
testcase_24 AC 85 ms
15,092 KB
testcase_25 AC 83 ms
15,112 KB
testcase_26 AC 84 ms
15,252 KB
testcase_27 AC 83 ms
15,096 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s = gets.chomp
puts s.index('OOO') ? 'East' : s.index('XXX') ? 'West' : 'NA'
0