QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#823084#9909. 阿尔塔尔 2Daniel7770 7ms3880kbC++14530b2024-12-20 19:04:572024-12-20 19:04:58

Judging History

你现在查看的是最新测评结果

  • [2024-12-20 19:04:58]
  • 评测
  • 测评结果:0
  • 用时:7ms
  • 内存:3880kb
  • [2024-12-20 19:04:57]
  • 提交

answer

#include"altar.h"
#include<bits/stdc++.h>
using namespace std;
mt19937_64 rnd(time(0));
const int N = 305;
int a[N],m;
int b[N],bm;
int altar(int n){
	for(int i = 1;i <= n;i++)
		a[++m] = i;
	while(m)
	{
		bm = 0;
		int x = rnd()%m+1;
		swap(a[1],a[x]);
		for(int i = 2;i <= m;i++)
		{
			int y = sense(a[i],a[1]);
			if(y) b[++bm] = a[i];
		}
		//for(int i = 1;i <= m;i++)
		//{
		//	cout<<a[i]<<" ";
		//}
		//cout<<"\n";
		if(!bm) return x;
		m = bm;
		for(int i = 1;i <= m;i++) a[i] = b[i];
	}
}

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 7ms
memory: 3880kb

input:

300
$NE[`FN8(GUPU5JN"+-?S9BD8AV29KPSV*_J33@A;BIC>PLD;?
.O`)V,Q^WPM3M4>+@W$GJ`Y_.Z`%'?1?VO645/Y";"E_RDLBU#
,V\*=ZO>6J0[,*9XVA[<<O\RJN9]B`&^4-`QV(&Z=$T7(05"2!
(EOLI9X](E0V.HG`B&5QBMXJ-<8;ITS5_FL>S-BEC[FUH9?J'"
AH#FYE-:C9OC>N*WMNIHYIDSSG=2Z2:0/B/B=-]QBJ^61]LG_!
CL92HRY]<1P<VF$>Q>;<F*1>)DH'5$VA3>A&1'0;Y...

output:

Invalid sense call

result:

wrong answer Invalid sense call

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 3864kb

input:

300
`XP``88`X:`X>Y`]@X^P`](^P[WY^`^V^P`NX`[L`@P```\^^@
6TTR>ADPJM9+/E@WNROG<_$_86,9W_OY?X`C\0Z&`HX^\X>]U/
):ZQ'QR&1'-&(S/\W18D.`"`LK&):>6=P\?R^HEC>TZ]VD//;(
X]]@0Y[\/\_K$\H><O`ZG`I`6V'GPP,O`^P^_4@^`\^``>00P$
37/M$=="F&4RBMTO.UV=T@Q`K;"378&X\O8=`*LY`]O@`KDDW"
.0(X$/_GSCLY1_:X'\;OZ0Y@6NB:\\C\>`<O`E8]@...

output:

Wrong Answer.

result:

wrong answer Wrong Answer.

Subtask #3:

score: 0
Skipped

Dependency #1:

0%