結果
| 問題 | No.26 シャッフルゲーム |
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-24 15:15:55 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 5,000 ms |
| + 466µs | |
| コード長 | 158 bytes |
| 記録 | |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 81,012 KB |
| 実行使用メモリ | 80,896 KB |
| 最終ジャッジ日時 | 2026-07-18 04:24:11 |
| 合計ジャッジ時間 | 1,865 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
#coding:utf-8 N=input() M=input() ope=[raw_input().split() for i in range(M)] for p,q in ope: if int(p)==N: N=int(q) elif int(q)==N: N=int(p) print N
a_ten