結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,788 KB
testcase_01 AC 2 ms
7,788 KB
testcase_02 AC 2 ms
7,788 KB
testcase_03 AC 2 ms
7,788 KB
testcase_04 AC 3 ms
7,788 KB
testcase_05 AC 2 ms
7,788 KB
testcase_06 AC 2 ms
7,788 KB
testcase_07 AC 2 ms
7,788 KB
testcase_08 AC 18 ms
11,872 KB
testcase_09 WA -
testcase_10 AC 10 ms
11,872 KB
testcase_11 WA -
testcase_12 AC 13 ms
11,876 KB
testcase_13 AC 17 ms
11,872 KB
testcase_14 WA -
testcase_15 AC 12 ms
11,872 KB
testcase_16 AC 18 ms
11,872 KB
testcase_17 AC 17 ms
11,872 KB
testcase_18 AC 17 ms
11,872 KB
testcase_19 AC 12 ms
11,872 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 11 ms
11,872 KB
testcase_25 AC 11 ms
11,872 KB
testcase_26 AC 12 ms
11,872 KB
testcase_27 WA -
testcase_28 AC 6 ms
8,932 KB
testcase_29 WA -
testcase_30 AC 8 ms
9,992 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 AC 16 ms
11,388 KB
testcase_37 AC 16 ms
11,504 KB
testcase_38 WA -
testcase_39 AC 14 ms
11,200 KB
testcase_40 WA -
testcase_41 WA -
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
testcase_45 AC 11 ms
10,556 KB
testcase_46 WA -
権限があれば一括ダウンロードができます

ソースコード

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){
	sortA(n,a);
	sortA(n,b);
}
hoge:;
rep(i,n){
	if(a[i]!=b[i]){
		wt("No");
		exit(0);
	}
}
yes:;
wt("Yes");
0