제출 #1190945

#제출 시각아이디문제언어결과실행 시간메모리
1190945DeltaStruct자매 도시 (APIO20_swap)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int n,m; cin >> n >> m; vector<int> A(m); for (int& a:A) cin >> a >> a >> a; int q; cin >> q; while(q--) cout << -1 << endl; }

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

/usr/bin/ld: /tmp/cchMjYMR.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccPYVFpe.o:swap.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cchMjYMR.o: in function `main':
grader.cpp:(.text.startup+0x1f4): undefined reference to `init(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
/usr/bin/ld: grader.cpp:(.text.startup+0x24a): undefined reference to `getMinimumFuelCapacity(int, int)'
collect2: error: ld returned 1 exit status