結果
| 問題 | No.26 シャッフルゲーム |
| コンテスト | |
| ユーザー |
turner18_jp
|
| 提出日時 | 2017-09-26 10:46:41 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 99 ms / 5,000 ms |
| コード長 | 196 bytes |
| 記録 | |
| コンパイル時間 | 344 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-05-10 14:02:51 |
| 合計ジャッジ時間 | 2,141 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 |
ソースコード
current = int(input())
num = int(input())
for i in range(num):
pos = list(map(int, input().split()))
if current in pos:
pos.remove(current)
current = pos[0]
print(current)
turner18_jp