結果
| 問題 |
No.123 カードシャッフル
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-04-22 22:19:50 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 224 bytes |
| コンパイル時間 | 212 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 17,416 KB |
| 最終ジャッジ日時 | 2024-07-21 16:21:17 |
| 合計ジャッジ時間 | 1,642 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 10 |
ソースコード
N,sf=map(int,input().split())
lsc=[]
for i in range(1,N+1):
lsc.append(i)
print(lsc)
lsy=list(map(int,input().split()))
print(lsy)
for i in range(len(lsy)):
ix=lsy[i]-1
po=lsc.pop(ix)
lsc.insert(0,po)
lsc[0]