結果

問題 No.702 中央値を求めよ LIMITED
ユーザー %20%20
提出日時 2018-06-16 00:36:07
言語 cLay
(20240104-1)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 185 bytes
コンパイル時間 1,417 ms
コンパイル使用メモリ 158,160 KB
実行使用メモリ 26,772 KB
最終ジャッジ日時 2023-09-19 00:04:20
合計ジャッジ時間 5,363 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
26,536 KB
testcase_01 AC 75 ms
26,520 KB
testcase_02 AC 75 ms
26,772 KB
testcase_03 AC 76 ms
26,500 KB
testcase_04 AC 75 ms
26,660 KB
testcase_05 AC 75 ms
26,564 KB
testcase_06 AC 76 ms
26,632 KB
testcase_07 AC 76 ms
26,540 KB
testcase_08 AC 76 ms
26,436 KB
testcase_09 AC 75 ms
26,508 KB
testcase_10 AC 76 ms
26,568 KB
testcase_11 AC 76 ms
26,552 KB
testcase_12 AC 77 ms
26,556 KB
testcase_13 AC 75 ms
26,584 KB
testcase_14 AC 76 ms
26,488 KB
testcase_15 AC 75 ms
26,456 KB
testcase_16 AC 75 ms
26,496 KB
testcase_17 AC 75 ms
26,388 KB
testcase_18 AC 75 ms
26,528 KB
testcase_19 AC 75 ms
26,568 KB
testcase_20 AC 76 ms
26,528 KB
testcase_21 AC 75 ms
26,476 KB
testcase_22 AC 75 ms
26,460 KB
testcase_23 AC 76 ms
26,616 KB
testcase_24 AC 75 ms
26,568 KB
testcase_25 AC 77 ms
26,492 KB
testcase_26 AC 76 ms
26,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

unsigned T=(1u<<31)-3d6,t,x,y=1,z=2,w=3,p,q[6d6],i;
{
	for(cin>>x;i<=1d7;++i)t=x^x<<11,x=y,y=z,z=w,w^=w>>19^t^t>>8,w<T?++p:w<T+6d6&&++q[w-T];
	for(i=-1;p<=5d6;)p+=q[++i];
	cout<<T+i;
}
0