Submission #743012

#TimeUsernameProblemLanguageResultExecution timeMemory
743012AbdurroshidPermutation (APIO22_perm)C++17
Compilation error
0 ms0 KiB
/* It is code Zhanabergen Abdurroshid :)))) */ //#pragma GCC target( "sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") //#pragma GCC optimize("Ofast,unroll-loops,fast-math,O3") //#include "perm.h" #include<bits/stdc++.h> #define ll long long //#define int ll #define du long double #define m_p make_pair #define p_b push_back #define pii pair<int,int> #define piii pair<int,pii> #define vi vector<int> #define vii vector<pii> #define viii vector<piii> #define si set<int> #define sii set<pii> #define siii set<pair<int,pii> > #define F first #define S second #define pre(x) cout.precision(x); #define sz size() #define all(x) x.begin(),x.end() #define RUN ios_base::sync_with_stdio(false);cin.tie(0) #define OPEN freopen("painter.in","r",stdin);freopen("painter.out","w",stdout) using namespace std; ll fl(){ ll a; cin>>a; return a; } const ll N = 5e5 + 9, N2 = 1e6 + 9, INF = 1e9 + 9, MOD = 1e9 + 7, BL = 200; vi construct_permutation(int k){ vi v; for(int i=1;i<k;i++)v.p_b(i-1); return v; } /*main(){ RUN; return 0; }*/

Compilation message (stderr)

/usr/bin/ld: /tmp/cczedvnS.o: in function `main':
grader.cpp:(.text.startup+0x240): undefined reference to `construct_permutation(long long)'
collect2: error: ld returned 1 exit status