Submission #145568

# Submission time Handle Problem Language Result Execution time Memory
145568 2019-08-20T12:04:07 Z bharat2002 Bubble Sort 2 (JOI18_bubblesort2) C++14
Compilation error
0 ms 0 KB
/*input

*/
#include<bits/stdc++.h>
using namespace std;
const int N=5e5 + 1099;
const int mod=1e9 + 7;
#define int long long
const int inf=1e18;
#define pii pair<int, int>
#define f first
#define s second 
#define mp make_pair
int n, arr[N];map<int, int> conv; 
signed main()
{
	ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
	cin>>n;
	for(int i=1;i<=n;i++) cin>>arr[i];
	int q;cin>>q;
	while(q--)
	{
		int v, k;cin>>v>>k;
		cout<<10<<endl;
	}
}

Compilation message

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