結果
| 問題 |
No.123 カードシャッフル
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-02-23 14:26:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 145 bytes |
| コンパイル時間 | 371 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 17,084 KB |
| 最終ジャッジ日時 | 2024-10-08 01:09:30 |
| 合計ジャッジ時間 | 2,912 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 2 WA * 6 RE * 2 |
ソースコード
n,m=map(int,input().split()) a=[n-x for x in map(int,input().split())] n=[x+1 for x in range(10)][::-1] while a:n+=[n.pop(a.pop(0))] print(n[-1])