Submission #833475

#TimeUsernameProblemLanguageResultExecution timeMemory
833475andecaandeciPermutation (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; } }

Compilation message (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...