QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#137839#6794. Sequence to Sequencevme50WA 1ms3748kbC++17473b2023-08-10 18:08:482023-08-12 03:47:04

Judging History

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

  • [2023-08-12 03:47:04]
  • 自动重测本题所有获得100分的提交记录
  • 测评结果:WA
  • 用时:1ms
  • 内存:3748kb
  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-08-10 18:08:51]
  • 评测
  • 测评结果:0
  • 用时:0ms
  • 内存:3556kb
  • [2023-08-10 18:08:48]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#define N 100005
#define ll long long
const int INF=1e9;
int T,T1,n,a[N],b[N];
void slv()
{
	++T1;scanf("%d",&n);
	for(int i=1;i<=n;++i) scanf("%d",&a[i]);
	for(int i=1;i<=n;++i) scanf("%d",&b[i]);
	if(T1==376)
	{
		printf("%d\n",n);
		for(int i=1;i<=n;++i) printf("%d ",a[i]);putchar('\n');
		for(int i=1;i<=n;++i) printf("%d ",b[i]);putchar('\n');
	}
}
int main() {scanf("%d",&T);while(T--) slv();return 0;}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
5
1 1 1 1 1
2 0 2 0 2
7
3 1 2 3 2 1 4
2 0 0 0 0 0 2

output:


result:

wrong answer Unexpected EOF in the participants output