結果

問題 No.1613 Rush and Remove
ユーザー tamatotamato
提出日時 2021-07-21 23:20:04
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 434 bytes
コンパイル時間 1,471 ms
コンパイル使用メモリ 87,332 KB
実行使用メモリ 76,852 KB
最終ジャッジ日時 2023-09-24 19:50:27
合計ジャッジ時間 5,116 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,756 KB
testcase_01 AC 71 ms
71,604 KB
testcase_02 AC 71 ms
71,608 KB
testcase_03 AC 74 ms
71,212 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 73 ms
71,756 KB
testcase_07 AC 73 ms
71,676 KB
testcase_08 AC 71 ms
71,648 KB
testcase_09 AC 80 ms
76,756 KB
testcase_10 AC 79 ms
76,536 KB
testcase_11 AC 79 ms
76,468 KB
testcase_12 AC 80 ms
76,460 KB
testcase_13 AC 82 ms
76,584 KB
testcase_14 AC 84 ms
76,648 KB
testcase_15 WA -
testcase_16 AC 81 ms
76,620 KB
testcase_17 AC 80 ms
76,852 KB
testcase_18 AC 76 ms
75,852 KB
testcase_19 AC 78 ms
75,504 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 76 ms
75,860 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 75 ms
75,844 KB
testcase_27 AC 72 ms
71,680 KB
testcase_28 WA -
testcase_29 AC 71 ms
71,284 KB
testcase_30 WA -
testcase_31 AC 71 ms
71,620 KB
testcase_32 AC 74 ms
71,676 KB
testcase_33 AC 74 ms
71,636 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 AC 72 ms
71,684 KB
testcase_37 WA -
testcase_38 AC 74 ms
71,296 KB
testcase_39 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    H, W = map(int, input().split())
    grid = []
    for _ in range(H):
        grid.append(input().rstrip('\n'))

    g = 0
    for h in range(H):
        for w in range(W):
            if grid[h][w] == "o":
                g ^= h+1
    if g:
        print("First")
    else:
        print("Second")


if __name__ == '__main__':
    main()
0