제출 #1051661

#제출 시각아이디문제언어결과실행 시간메모리
1051661AndreasK열대 식물원 (Tropical Garden) (IOI11_garden)C++14
컴파일 에러
0 ms0 KiB
#include "garden.h" #include "gardenlib.h" #include <bits/stdc++.h> using namespace std; #define designed ios_base::sync_with_stdio(0); #define by cin.tie(0); #define AndreasK cout.tie(0); #define int long long #define ii pair <int,int> #define vi vector <int> #define iii pair <int,ii> #define vii vector <ii> #define vc vector <char> #define vb vector <bool> void count_routes(int32_t N, int32_t M, int32_t P, int32_t R[][2], int32_t Q, int32_t G[]) { int i; for(i=0; i<Q; i++) answer(0); } int32_t main(){ designed by AndreasK return 0;}

컴파일 시 표준 에러 (stderr) 메시지

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