結果

問題 No.26 シャッフルゲーム
ユーザー pakikefalopakikefalo
提出日時 2017-10-19 23:41:39
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 184 bytes
コンパイル時間 192 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 8,012 KB
最終ジャッジ日時 2023-08-13 12:45:44
合計ジャッジ時間 923 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
7,808 KB
testcase_01 AC 17 ms
7,928 KB
testcase_02 WA -
testcase_03 AC 15 ms
7,844 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 16 ms
7,972 KB
testcase_07 AC 16 ms
7,932 KB
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

T=[False]*3
T[int(input())-1]=True
M=int(input())
for i in range(M):
    C=list(map(int,input().split()))
    T[C[0]-1]=not T[C[0]-1]
    T[C[1]-1]=not T[C[1]-1]
print(T.index(True)+1)
0