結果

問題 No.1425 Yet Another Cyclic Shifts Sorting
ユーザー ayaoniayaoni
提出日時 2021-03-13 05:48:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 550 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 104,448 KB
最終ジャッジ日時 2024-04-23 00:58:32
合計ジャッジ時間 5,730 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
52,096 KB
testcase_01 AC 37 ms
51,968 KB
testcase_02 AC 38 ms
51,968 KB
testcase_03 AC 37 ms
52,096 KB
testcase_04 AC 38 ms
52,096 KB
testcase_05 WA -
testcase_06 AC 39 ms
52,096 KB
testcase_07 AC 37 ms
52,096 KB
testcase_08 WA -
testcase_09 AC 37 ms
51,712 KB
testcase_10 AC 40 ms
52,096 KB
testcase_11 WA -
testcase_12 AC 37 ms
51,840 KB
testcase_13 AC 38 ms
52,096 KB
testcase_14 AC 37 ms
51,840 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 38 ms
51,840 KB
testcase_19 AC 37 ms
52,096 KB
testcase_20 AC 38 ms
52,224 KB
testcase_21 AC 39 ms
51,712 KB
testcase_22 AC 77 ms
97,280 KB
testcase_23 AC 50 ms
68,480 KB
testcase_24 AC 48 ms
67,072 KB
testcase_25 AC 81 ms
101,248 KB
testcase_26 AC 91 ms
101,636 KB
testcase_27 AC 81 ms
101,888 KB
testcase_28 AC 95 ms
102,172 KB
testcase_29 AC 55 ms
74,112 KB
testcase_30 AC 53 ms
69,248 KB
testcase_31 AC 94 ms
101,632 KB
testcase_32 AC 55 ms
72,832 KB
testcase_33 AC 44 ms
60,800 KB
testcase_34 AC 57 ms
75,392 KB
testcase_35 AC 92 ms
104,448 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 38 ms
51,712 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10**7)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def LS2(): return list(sys.stdin.readline().rstrip())


N = I()
A = LI()

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

print(ans)
0