結果
| 問題 | No.123 カードシャッフル |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-09 14:17:14 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 157 bytes |
| 記録 | |
| コンパイル時間 | 801 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 20,572 KB |
| 最終ジャッジ日時 | 2026-04-09 14:17:21 |
| 合計ジャッジ時間 | 5,478 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 10 |
ソースコード
N, M = int(input().split()) n = [x+1 for x in range(N)] a = list(map(int, input().split())) for i in range(M): n.remove(a[i]) n.insert(0, a[i]) print(n[0])