結果

問題 No.2254 Reverse Only
ユーザー tailstails
提出日時 2023-03-24 22:10:42
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 219 bytes
コンパイル時間 5,259 ms
コンパイル使用メモリ 209,560 KB
実行使用メモリ 11,920 KB
最終ジャッジ日時 2023-10-18 21:07:56
合計ジャッジ時間 7,614 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
7,820 KB
testcase_01 AC 2 ms
7,820 KB
testcase_02 AC 3 ms
7,820 KB
testcase_03 AC 2 ms
7,820 KB
testcase_04 AC 3 ms
7,820 KB
testcase_05 AC 2 ms
7,820 KB
testcase_06 AC 3 ms
7,820 KB
testcase_07 AC 2 ms
7,820 KB
testcase_08 AC 19 ms
11,904 KB
testcase_09 WA -
testcase_10 AC 10 ms
11,904 KB
testcase_11 WA -
testcase_12 AC 13 ms
11,908 KB
testcase_13 AC 13 ms
11,904 KB
testcase_14 AC 13 ms
11,908 KB
testcase_15 AC 13 ms
11,904 KB
testcase_16 AC 18 ms
11,904 KB
testcase_17 AC 18 ms
11,904 KB
testcase_18 AC 18 ms
11,904 KB
testcase_19 AC 12 ms
11,904 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 11 ms
11,904 KB
testcase_25 AC 12 ms
11,904 KB
testcase_26 AC 12 ms
11,904 KB
testcase_27 AC 3 ms
7,920 KB
testcase_28 AC 6 ms
8,964 KB
testcase_29 AC 8 ms
10,224 KB
testcase_30 AC 9 ms
10,024 KB
testcase_31 AC 5 ms
9,048 KB
testcase_32 AC 5 ms
9,220 KB
testcase_33 AC 4 ms
8,432 KB
testcase_34 AC 9 ms
10,640 KB
testcase_35 AC 7 ms
9,916 KB
testcase_36 AC 16 ms
11,420 KB
testcase_37 AC 16 ms
11,536 KB
testcase_38 AC 4 ms
8,768 KB
testcase_39 AC 15 ms
11,232 KB
testcase_40 AC 3 ms
7,916 KB
testcase_41 AC 6 ms
9,704 KB
testcase_42 AC 5 ms
8,860 KB
testcase_43 AC 9 ms
10,776 KB
testcase_44 AC 12 ms
11,708 KB
testcase_45 AC 11 ms
10,588 KB
testcase_46 AC 3 ms
7,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@k,@a[n],@b[n];
if(n==k){
	rep(i,n){
		if(a[i]!=b[n+~i]){
			goto hoge;
		}
	}
	goto yes;
}else if(1<k<n){
	sortA(n,a);
	sortA(n,b);
}
hoge:;
rep(i,n){
	if(a[i]!=b[i]){
		wt("No");
		exit(0);
	}
}
yes:;
wt("Yes");
0