結果

問題 No.1425 Yet Another Cyclic Shifts Sorting
ユーザー titiatitia
提出日時 2021-03-12 21:58:18
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 32,760 KB
最終ジャッジ日時 2024-04-22 12:54:27
合計ジャッジ時間 5,750 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
10,624 KB
testcase_01 AC 32 ms
10,624 KB
testcase_02 AC 30 ms
10,624 KB
testcase_03 AC 30 ms
10,624 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 WA -
testcase_06 AC 30 ms
10,624 KB
testcase_07 AC 29 ms
10,624 KB
testcase_08 WA -
testcase_09 AC 29 ms
10,624 KB
testcase_10 AC 30 ms
10,624 KB
testcase_11 WA -
testcase_12 AC 30 ms
10,752 KB
testcase_13 AC 29 ms
10,624 KB
testcase_14 AC 29 ms
10,752 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 30 ms
10,624 KB
testcase_19 AC 30 ms
10,624 KB
testcase_20 AC 30 ms
10,624 KB
testcase_21 AC 30 ms
10,624 KB
testcase_22 AC 113 ms
27,836 KB
testcase_23 AC 51 ms
14,912 KB
testcase_24 AC 49 ms
14,324 KB
testcase_25 AC 122 ms
28,640 KB
testcase_26 AC 134 ms
32,460 KB
testcase_27 AC 121 ms
29,356 KB
testcase_28 AC 134 ms
32,696 KB
testcase_29 AC 62 ms
17,216 KB
testcase_30 AC 52 ms
15,208 KB
testcase_31 AC 133 ms
32,248 KB
testcase_32 AC 60 ms
16,892 KB
testcase_33 AC 34 ms
11,520 KB
testcase_34 AC 65 ms
17,940 KB
testcase_35 AC 127 ms
30,700 KB
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
testcase_45 WA -
testcase_46 WA -
testcase_47 WA -
testcase_48 WA -
testcase_49 WA -
testcase_50 AC 31 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N=int(input())
A=list(map(int,input().split()))

ANS=0
for i in range(1,N):
    if A[i-1]>A[i]:
        ANS+=1

print(ANS)
0