제출 #907530

#제출 시각아이디문제언어결과실행 시간메모리
907530vjudge1순열 (APIO22_perm)C++17
10 / 100
485 ms49200 KiB
#include "perm.h" #include <bits/stdc++.h> using namespace std; std::vector<int> construct_permutation(long long k) { if (k <= 90) { vector<int> perm(k-1); iota(perm.begin(), perm.end(), 0ll); reverse(perm.begin(), perm.end()); return perm; } }

컴파일 시 표준 에러 (stderr) 메시지

perm.cpp: In function 'std::vector<int> construct_permutation(long long int)':
perm.cpp:13:1: warning: control reaches end of non-void function [-Wreturn-type]
   13 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...