제출 #820875

#제출 시각아이디문제언어결과실행 시간메모리
820875Hanksburger순열 (APIO22_perm)C++17
10 / 100
523 ms49432 KiB
#include "perm.h" #include <bits/stdc++.h> using namespace std; vector<int> ans; vector<int> construct_permutation(long long k) { ans.clear(); if (k<=90) { for (long long i=k-2; i>=0; i--) ans.push_back(i); return ans; } }

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

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