QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#623906#9428. Be PositiveEnchanterWA 1ms3640kbC++14332b2024-10-09 14:21:152024-10-09 14:21:16

Judging History

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

  • [2024-10-09 14:21:16]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3640kb
  • [2024-10-09 14:21:15]
  • 提交

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<<" ";
			cout<<endl;
		}
	}
	return 0;
}

詳細信息

Test #1:

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

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)