結果

問題 No.1425 Yet Another Cyclic Shifts Sorting
ユーザー tailstails
提出日時 2021-03-12 22:25:43
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 127 bytes
コンパイル時間 5,625 ms
コンパイル使用メモリ 216,756 KB
実行使用メモリ 10,632 KB
最終ジャッジ日時 2023-09-19 02:15:47
合計ジャッジ時間 12,269 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 1 ms
4,380 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 2 ms
4,380 KB
testcase_10 AC 1 ms
4,380 KB
testcase_11 WA -
testcase_12 AC 1 ms
4,380 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 1 ms
4,384 KB
testcase_16 AC 2 ms
4,380 KB
testcase_17 AC 2 ms
4,380 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 8 ms
8,240 KB
testcase_23 AC 3 ms
4,376 KB
testcase_24 AC 3 ms
4,376 KB
testcase_25 AC 9 ms
8,280 KB
testcase_26 AC 10 ms
8,436 KB
testcase_27 AC 13 ms
10,480 KB
testcase_28 AC 16 ms
10,532 KB
testcase_29 AC 7 ms
6,972 KB
testcase_30 AC 5 ms
6,864 KB
testcase_31 AC 15 ms
10,488 KB
testcase_32 AC 6 ms
6,932 KB
testcase_33 AC 2 ms
4,380 KB
testcase_34 AC 7 ms
7,120 KB
testcase_35 AC 15 ms
10,592 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 2 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{
	int@n;
	VI@a(n);
	VI b(n);
	rep(i,n) b[i]=i;
	sortV(a,b);
	int z=0;
	rep(i,n-1) z+=b[i]<b[i+1]-1;
	z+=b[n-1]<n-1;
	wt(z);
}
0