# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
978948 | 2024-05-10T04:22:47 Z | rshohruh | 순열 (APIO22_perm) | C++17 | 1 ms | 600 KB |
#include "perm.h" #include <bits/stdc++.h> using namespace std; std::vector<int> construct_permutation(long long k) { assert(k <= 100); vector<int> a(k-1); for(int i = 0; i < a.size(); ++i) a[i] = k-2-i; return a; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 1 ms | 348 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | Output is correct |
2 | Correct | 1 ms | 348 KB | Output is correct |
3 | Runtime error | 1 ms | 600 KB | Execution killed with signal 6 |
4 | Halted | 0 ms | 0 KB | - |