Submission #832144

#TimeUsernameProblemLanguageResultExecution timeMemory
832144makanhuliaArranging Shoes (IOI19_shoes)C++17
Compilation error
0 ms0 KiB
#include<bits/stdc++.h> #define ll long long #define fi first #define se second #define pb push_back #define pqueue priority_queue #define int long long #define pii pair<int,int> #define supercepat ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(0); //GA AC GA LAKI using namespace std; int tc,ans=0,n; main(){ supercepat; }

Compilation message (stderr)

shoes.cpp:13:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   13 | main(){
      | ^~~~
/usr/bin/ld: /tmp/ccqOd1xo.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccCFo6So.o:shoes.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccqOd1xo.o: in function `main':
grader.cpp:(.text.startup+0x2a8): undefined reference to `count_swaps(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status