QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#560034#8221. 多方计算zqiaor0 77ms55988kbC++17331b2024-09-12 11:35:222024-09-12 11:35:23

Judging History

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

  • [2024-09-12 11:35:23]
  • 评测
  • 测评结果:0
  • 用时:77ms
  • 内存:55988kb
  • [2024-09-12 11:35:22]
  • 提交

answer

#include"mpc.h"
#include<bits/stdc++.h>
using namespace std;
int N,M;
int precalc(int n,int m){N=n,M=m;return n+m+__lg(n);}
bool transmit(player &X,int t,int x){
	int now=t-x-1,la=X.last_message,Now;
	if(t-x-1<0)return 0;
	if(la){
		while(X.memory[Now])X.memory[Now++]=0;
		X.memory[Now]=1;
	}
	return X.memory[now];
}

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 10
Accepted
time: 1ms
memory: 6056kb

input:

5 5 3185997250635081508 10243950506680270049

output:

4123764187658

result:

ok Perfect. 10

Test #2:

score: 0
Wrong Answer
time: 1ms
memory: 6056kb

input:

5 5 3552483843587513799 14478819593833617714

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #2:

score: 0
Wrong Answer

Test #37:

score: 3
Acceptable Answer
time: 12ms
memory: 31488kb

input:

1000 1 17833636513278974999 18032835279213373306

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #38:

score: 3
Acceptable Answer
time: 15ms
memory: 31208kb

input:

1000 1 14730911653810224758 12266600726496100996

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #39:

score: 3
Acceptable Answer
time: 17ms
memory: 30916kb

input:

1000 1 8799733959292548924 5387063902427699037

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #40:

score: 0
Wrong Answer
time: 13ms
memory: 31384kb

input:

1000 1 9630334707439747607 4291049102998855878

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #3:

score: 0
Wrong Answer

Test #73:

score: 0
Wrong Answer
time: 10ms
memory: 31792kb

input:

1000 10 7581650225429700886 16046788410942473709

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #4:

score: 0
Wrong Answer

Test #109:

score: 0
Wrong Answer
time: 6ms
memory: 31168kb

input:

1000 30 15510757929061591914 2629686482095382587

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #5:

score: 0
Wrong Answer

Test #145:

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

input:

3 1000 341353812123787886 3685575517089631424

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #6:

score: 0
Wrong Answer

Test #181:

score: 0
Wrong Answer
time: 1ms
memory: 8088kb

input:

10 1000 18326939717248212778 15447461170187547045

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #7:

score: 0
Wrong Answer

Test #217:

score: 0
Wrong Answer
time: 8ms
memory: 18784kb

input:

500 1000 3911210051670624968 2787181900148297327

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #8:

score: 0
Wrong Answer

Test #253:

score: 0
Wrong Answer
time: 26ms
memory: 32736kb

input:

1000 1000 2442055921391744378 15448328346037637846

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #9:

score: 0
Wrong Answer

Test #289:

score: 0
Wrong Answer
time: 50ms
memory: 43924kb

input:

1500 1500 8660688640427922501 1436138393991664715

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #10:

score: 0
Wrong Answer

Test #325:

score: 0
Wrong Answer
time: 77ms
memory: 55988kb

input:

2000 2000 6596342253746377097 6195418207254921855

output:

4123764187648

result:

points 0.0 Correct Answer. 0