#include<bits/stdc++.h>
using namespace std;
using ll = long long;
vector<int> construct_permutation(ll k) {
vector<int>ans;
if (k <= 90) {
for (int i = k - 2; i >= 0; i--) {
ans.push_back(i);
}
}
return ans;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Output is correct |
2 |
Correct |
1 ms |
348 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
348 KB |
Output is correct |
2 |
Correct |
1 ms |
348 KB |
Output is correct |
3 |
Incorrect |
1 ms |
344 KB |
Integer 0 violates the range [1, 5000] |
4 |
Halted |
0 ms |
0 KB |
- |