Submission #1321745

#TimeUsernameProblemLanguageResultExecution timeMemory
1321745vancongloc1234팀들 (IOI15_teams)C++20
Compilation error
0 ms0 KiB
#ifndef SKY #include "teams.h" #endif // SKY #include <bits/stdc++.h> #define Nmax 500009 //#define int long long #define ed "\n" #define fast() ios_base::sync_with_stdio(false); cin.tie(nullptr); #define INF 100000000000000009 #define mod 1000000007 #define lim 1000001 using namespace std; void init(int n, int a[], int b[]) { cout<<1; } int can (int m, int k[]) { return 0; } signed main() { fast(); int n,q,a[Nmax],b[Nmax],m,k[Nmax]; cin>>n>>q; for(int i=1;i<=n;i++) { cin>>a[i]>>b[i]; } while(q--) { cin>>m; for(int i=1;i<=m;i++)cin>>k[i]; } init(n,a,b); can(m,k); return 0; } /* 1 6 7 6 15 17 14 15 12 16 */

Compilation message (stderr)

/usr/bin/ld: /tmp/cc1pRKR4.o: in function `main':
grader.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccTKQ5qa.o:teams.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status