Submission #1128381

#TimeUsernameProblemLanguageResultExecution timeMemory
1128381MunkhErdeneMachine (IOI24_machine)C++20
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #define ll long long using namespace std; #define no cout<<"NO\n" #define yes cout<<"YES\n" const ll MOD=1e9+7; const ll N=2e5+5; /*void solve(){ ll a, b, c, d, e, g, h, x, y, z, r, l, t, o, p, i, j, k, q, w, s, u, v, n, m; ll cnt=0, ans=0, sum=0; string ug,ug1,ug2; char useg='a'; bool bval=1,bval1=0; cin>>n; ll arr[n]; for(auto& x: arr) cin>>x; for(i=0; i<n; i++){ if(i==0){ if(arr[i]==0){ for(j=0; j<n; j++){} } } } } int main(){ ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0); ll testCase=1; cin>>testCase; while(testCase--){ solve(); } }*/ int sum(int a, int b){ return a + b; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccyn6fU2.o: in function `main':
stub.cpp:(.text.startup+0xb4): undefined reference to `find_permutation(int)'
collect2: error: ld returned 1 exit status