結果

問題 No.5001 排他的論理和でランニング
ユーザー tailstails
提出日時 2018-03-16 23:55:57
言語 cLay
(20240104-1)
結果
AC  
実行時間 62 ms / 1,500 ms
コード長 218 bytes
コンパイル時間 1,314 ms
実行使用メモリ 7,024 KB
スコア 52,428,750
最終ジャッジ日時 2021-09-25 19:03:23
合計ジャッジ時間 5,894 ms
ジャッジサーバーID
(参考情報)
judge10 / judge14
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
4,972 KB
testcase_01 AC 3 ms
4,972 KB
testcase_02 AC 15 ms
4,972 KB
testcase_03 AC 13 ms
4,972 KB
testcase_04 AC 38 ms
5,004 KB
testcase_05 AC 24 ms
4,976 KB
testcase_06 AC 13 ms
4,976 KB
testcase_07 AC 11 ms
7,020 KB
testcase_08 AC 33 ms
4,972 KB
testcase_09 AC 12 ms
4,976 KB
testcase_10 AC 12 ms
4,976 KB
testcase_11 AC 18 ms
7,024 KB
testcase_12 AC 37 ms
7,020 KB
testcase_13 AC 16 ms
4,976 KB
testcase_14 AC 10 ms
4,972 KB
testcase_15 AC 3 ms
4,980 KB
testcase_16 AC 20 ms
4,976 KB
testcase_17 AC 7 ms
7,024 KB
testcase_18 AC 12 ms
4,976 KB
testcase_19 AC 62 ms
4,972 KB
testcase_20 AC 16 ms
4,976 KB
testcase_21 AC 17 ms
7,024 KB
testcase_22 AC 28 ms
7,020 KB
testcase_23 AC 2 ms
7,024 KB
testcase_24 AC 4 ms
4,972 KB
testcase_25 AC 33 ms
7,020 KB
testcase_26 AC 26 ms
7,020 KB
testcase_27 AC 5 ms
4,976 KB
testcase_28 AC 5 ms
4,972 KB
testcase_29 AC 14 ms
4,976 KB
testcase_30 AC 12 ms
4,972 KB
testcase_31 AC 8 ms
4,976 KB
testcase_32 AC 49 ms
4,976 KB
testcase_33 AC 14 ms
4,972 KB
testcase_34 AC 13 ms
4,976 KB
testcase_35 AC 10 ms
7,020 KB
testcase_36 AC 19 ms
7,020 KB
testcase_37 AC 7 ms
7,020 KB
testcase_38 AC 8 ms
4,972 KB
testcase_39 AC 10 ms
4,976 KB
testcase_40 AC 7 ms
4,976 KB
testcase_41 AC 2 ms
7,020 KB
testcase_42 AC 5 ms
4,976 KB
testcase_43 AC 11 ms
4,976 KB
testcase_44 AC 17 ms
4,972 KB
testcase_45 AC 12 ms
4,972 KB
testcase_46 AC 4 ms
4,976 KB
testcase_47 AC 11 ms
4,976 KB
testcase_48 AC 12 ms
4,972 KB
testcase_49 AC 8 ms
4,976 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

int n,m,a[100000];
{
	int v,w,i,j;
	srand(time(0));
	rd(n,m,a(n));
	v=0;
	v^=a[0..m-1];
	rep(15d7){
		i=rand()%m;
		j=rand()%(n-m)+m;
		v^=a[i]^a[j];
		swap(a[i],a[j]);
		if(v==(1<<20)-1){
			break;
		}
	}
	wt(a(m));
}
0