Submission #270448

#TimeUsernameProblemLanguageResultExecution timeMemory
270448limabeansBubble Sort 2 (JOI18_bubblesort2)C++17
Compilation error
0 ms0 KiB
#include "bubblesort2.h" #include <bits/stdc++.h> using namespace std; template<typename T> void out(T x) { cout << x << endl; exit(0); } #define watch(x) cout << (#x) << " is " << (x) << endl using ll = long long; const ll mod = 1e9+7; const int maxn = 1e6 + 5; std::vector<int> countScans(std::vector<int> A,std::vector<int> X,std::vector<int> V){ int Q=X.size(); std::vector<int> answer(Q); for (int j=0;j<Q;j++) { answer[j]=X[j]; } return answer; } int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); return 0; }

Compilation message (stderr)

/tmp/cc8MvNaX.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccuelNxk.o:bubblesort2.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status