QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#139596 | #2058. Generator | As3b_team_f_masr# | WA | 1ms | 3440kb | C++14 | 538b | 2023-08-14 00:51:51 | 2023-08-14 00:51:53 |
Judging History
answer
#include <bits/stdc++.h>
#define F first
#define S second
#define ld long double
#define EPS 1e-9
using namespace std;
typedef long long ll;
const int N = 10000;
pair<int,int> p[N];
int main ()
{
//ios::sync_with_stdio(false);
//cin.tie(0);
//cout.tie(0);
//freopen("wigz.in","r",stdin);
int n;
cin >> n;
if(n == 1) cout << 1 ;
else if(n == 2) cout << "1 2";
else if(n == 3) cout << "3 1 2";
else if(n == 4) cout << "3 1 2 4";
else if(n == 6) cout << "5 1 4 2 6 3";
else cout << -1;
return(0);
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3440kb
input:
6 2 3 4 5 6 10
output:
5 1 4 2 6 3
result:
wrong answer 1st lines differ - expected: '0/1', found: '5 1 4 2 6 3'