QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#139596#2058. GeneratorAs3b_team_f_masr#WA 1ms3440kbC++14538b2023-08-14 00:51:512023-08-14 00:51:53

Judging History

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

  • [2023-08-14 00:51:53]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3440kb
  • [2023-08-14 00:51:51]
  • 提交

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);
}

Details

Tip: Click on the bar to expand more detailed information

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'