Submission #330246

#TimeUsernameProblemLanguageResultExecution timeMemory
330246Habib_AssoevArranging Shoes (IOI19_shoes)C++14
Compilation error
0 ms0 KiB
# include<bits/stdc++.h>
#define in freopen ("herding.in", "r", stdin);
#define out freopen("herding.out", "w", stdout);
#define ll long long
#define pb push_back
#define pf push_front
#define speed ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
using namespace std ;
long long const N = 1e6 + 7 ;
long long N1 = 1e9 + 7 ;
int main( ){
    // in out
    speed ;
    ll TJK = 1 ;
    //cin >> TJK ;
    while( TJK -- ){
        ll n ;
      	cin >> n ;
      	ll a[n];
      	for( int i = 0 ; i < n ; i ++ ){
        	cin >> a[i] ;
        }
      	cout << 0 << endl;
    }
}

Compilation message (stderr)

/tmp/cc4txe0h.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccESw2vV.o:shoes.cpp:(.text.startup+0x0): first defined here
/tmp/cc4txe0h.o: In function `main':
grader.cpp:(.text.startup+0x278): undefined reference to `count_swaps(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status