結果
問題 |
No.486 3 Straight Win(3連勝)
|
ユーザー |
![]() |
提出日時 | 2024-10-26 20:08:13 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 232 bytes |
コンパイル時間 | 11,607 ms |
コンパイル使用メモリ | 232,040 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-26 20:08:27 |
合計ジャッジ時間 | 13,151 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 28 |
ソースコード
package main import . "fmt" import . "strings" func main() { var s string Scan(&s) e:=Index(s,"OOO") w:=Index(s,"XXX") if e==w { Println("NA") } else if e<0||(w>=0&&w<e) { Println("West") } else { Println("East") } }