QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#623894#9428. Be PositiveEnchanterWA 0ms3612kbC++14316b2024-10-09 14:19:562024-10-09 14:20:00

Judging History

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

  • [2024-10-09 14:20:00]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3612kb
  • [2024-10-09 14:19:56]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll MAX=110;

int main()

{
	ll T;
	cin>>T;
	while(T--)
	{
		int s[21];
		ll n;
		cin>>n;
		if(n==1 || n==4)
		{
			cout<<"impossible"<<endl;
		}
		else
		{
			for(int i=0;i<=n;i++)
			cout<<i<<" ";
		}
	}
	return 0;
}

詳細信息

Test #1:

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

input:

4
1
2
3
4

output:

impossible
0 1 2 0 1 2 3 impossible

result:

wrong answer xor equals zero (test case 2)