제출 #833475

#제출 시각아이디문제언어결과실행 시간메모리
833475andecaandeci순열 (APIO22_perm)C++17
10 / 100
489 ms49488 KiB
#include<bits/stdc++.h> using namespace std; #define ioss ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0) #define ll long long #define tup tuple<int, int, int> #define pii pair<int, int> #define fi first #define se second #define pub push_back #define pob pop_back vector<int> ans; vector<int> construct_permutation(ll k) { ans.clear(); if(k <= 90) { for(ll i = k-2; i >= 0; i--) ans.pub(i); return ans; } }

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

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