結果
問題 | No.123 カードシャッフル |
ユーザー | rocoder |
提出日時 | 2017-06-17 22:16:45 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 199 bytes |
コンパイル時間 | 230 ms |
コンパイル使用メモリ | 11,776 KB |
実行使用メモリ | 18,272 KB |
最終ジャッジ日時 | 2024-04-08 20:46:54 |
合計ジャッジ時間 | 1,358 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 28 ms
9,984 KB |
testcase_01 | RE | - |
testcase_02 | AC | 31 ms
9,984 KB |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
testcase_07 | RE | - |
testcase_08 | AC | 30 ms
9,984 KB |
testcase_09 | AC | 29 ms
9,984 KB |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
testcase_13 | RE | - |
ソースコード
N,M=(int(i) for i in input (). split ()) A=[int (i) for i in input (). split ()] #print (A) C=[int (i) for i in range(N)] for i in range (M): R=A[i] C.pop(A[i]) C.insert(0,R) print (C[0])