답안 #270448

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
270448 2020-08-17T15:45:41 Z limabeans Bubble Sort 2 (JOI18_bubblesort2) C++17
컴파일 오류
0 ms 0 KB
#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

/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