Submission #143561

#TimeUsernameProblemLanguageResultExecution timeMemory
143561MarkoesArranging Shoes (IOI19_shoes)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int n,a[200010]; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin>>n; for(int i=0;i<n;i++){ cin>>a[i]; } //for(int i=0;i<) cout<<0<<endl; }

Compilation message (stderr)

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