#include <bits/stdc++.h>
#include "perm.h"
using namespace std;
// #define int long long
#define ll long long
#define ff first
#define ss second
#define fast ios_base::sync_with_stdio(NULL); cin.tie(NULL)
const double inf = 1e18 + 9;
const int mxn = 2e5 + 2;
const int mod = 1e9 + 7;
vector<int> construct_permutation(long long k) {
vector<int> v(k - 1);
for(int i = 0; i < k - 1; i++) {
v[i] = k - 1 - i;
}
return v;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Integer 2 violates the range [0, 1] |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
344 KB |
Integer 2 violates the range [0, 1] |
2 |
Halted |
0 ms |
0 KB |
- |