結果

問題 No.1425 Yet Another Cyclic Shifts Sorting
ユーザー tailstails
提出日時 2021-03-12 22:24:34
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 114 bytes
コンパイル時間 5,453 ms
コンパイル使用メモリ 216,244 KB
実行使用メモリ 10,788 KB
最終ジャッジ日時 2023-09-19 02:16:00
合計ジャッジ時間 8,558 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 2 ms
4,376 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 2 ms
4,376 KB
testcase_10 AC 1 ms
4,380 KB
testcase_11 WA -
testcase_12 AC 2 ms
4,376 KB
testcase_13 AC 1 ms
4,380 KB
testcase_14 AC 2 ms
4,376 KB
testcase_15 AC 2 ms
4,376 KB
testcase_16 AC 1 ms
4,384 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,148 KB
testcase_23 AC 3 ms
4,380 KB
testcase_24 AC 3 ms
4,380 KB
testcase_25 AC 9 ms
8,132 KB
testcase_26 AC 10 ms
8,464 KB
testcase_27 AC 14 ms
10,456 KB
testcase_28 AC 15 ms
10,444 KB
testcase_29 AC 6 ms
6,920 KB
testcase_30 AC 5 ms
6,796 KB
testcase_31 AC 15 ms
10,656 KB
testcase_32 AC 6 ms
6,908 KB
testcase_33 AC 2 ms
4,380 KB
testcase_34 AC 7 ms
7,144 KB
testcase_35 AC 15 ms
10,512 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=1;
	rep(i,n-1) z+=b[i]!=b[i+1]-1;
	wt(z/2);
}
0