結果
問題 |
No.26 シャッフルゲーム
|
ユーザー |
![]() |
提出日時 | 2015-10-08 01:11:46 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 5,000 ms |
コード長 | 183 bytes |
コンパイル時間 | 260 ms |
コンパイル使用メモリ | 82,384 KB |
実行使用メモリ | 53,876 KB |
最終ジャッジ日時 | 2024-07-20 02:01:09 |
合計ジャッジ時間 | 1,391 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
s = [False] * 4 s[int(input())] = True for i in range(int(input())): a, b = map(int, input().split()) s[a], s[b] = s[b], s[a] for i in range(4): if s[i]: print(i)