結果
問題 | No.486 3 Straight Win(3連勝) |
ユーザー |
|
提出日時 | 2017-02-24 22:27:05 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 405 bytes |
コンパイル時間 | 257 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 10,368 KB |
最終ジャッジ日時 | 2025-01-02 22:46:30 |
合計ジャッジ時間 | 2,054 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 23 |
ソースコード
def main():S = list(input())east = 0west = 0for s in S:if s == "O":east += 1if east == 3:print("East")else:west += 1if west == 3:print("West")print("NA")if __name__ == "__main__": # {{{try:import testtest.test()except:main() # }}}