QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#515606#8049. Equal Sumsyz_lyWA 44ms984624kbC++14909b2024-08-11 19:13:222024-08-11 19:13:22

Judging History

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

  • [2024-08-11 19:13:22]
  • 评测
  • 测评结果:WA
  • 用时:44ms
  • 内存:984624kb
  • [2024-08-11 19:13:22]
  • 提交

answer

#include<bits/stdc++.h>
#define ll long long
using namespace std;
inline int read(){
	int f=1,x=0;
	char ch=getchar();
	while(ch<'0'||ch>'9'){
		if(ch=='-')
			f=-f;
		ch=getchar();
	}
	while(ch>='0'&&ch<='9'){
		x=x*10+ch-'0';
		ch=getchar();
	}
	return f*x;
}
inline void work(int k){
	if(k<0){
		putchar('-');
		k=-k;
	}
	if(k>9)
		work(k/10);
	putchar(k%10+'0');
}
const int mod=998244353;
int n,m;
ll dp[2][250005],f[505][250005],sum[2][250005],sum1[2][250005];
pair<int,int> a[505],b[505];
int main(){
	n=read();
	m=read();
	for(int i=1;i<=n;i++){
		a[i].first=read();
		a[i].second=read();
	}
	for(int i=1;i<=m;i++){
		b[i].first=read();
		b[i].second=read();
	}
	for(int i=0;i<=500;i++){
		for(int j=0;j<=250000;j++){
			f[i][j]=1;
		}
	}
	dp[0][0]=f[0][0]=1;
	for(int i=1;i<=250000;i++){

	}
	for(int i=1;i<=n;i++){
		// for(int )
	}
	return 0;
}

详细

Test #1:

score: 0
Wrong Answer
time: 44ms
memory: 984624kb

input:

2 3
1 2
2 3
1 4
2 2
1 3

output:


result:

wrong answer Answer contains longer sequence [length = 6], but output contains 0 elements