QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#623906 | #9428. Be Positive | Enchanter | WA | 1ms | 3640kb | C++14 | 332b | 2024-10-09 14:21:15 | 2024-10-09 14:21:16 |
Judging History
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)