제출 #1106595

#제출 시각아이디문제언어결과실행 시간메모리
1106595YudoTLE벽 (IOI14_wall)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; using ll = long long; using vi = vector<int>; using vll = vector<ll>; using vb = vector<bool>; using pi = pair<int, int>; using pll = pair<ll, ll>; #define fi first #define se second #define pb push_back #define all(x) x.begin(), x.end() #define rall(x) x.rbegin(), x.rend() void solve() { } int main() { // ios_base::sync_with_stdio(false), cin.tie(0); int t = 1; cin >> t; while (t--) solve(); return 0; }

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

/usr/bin/ld: /tmp/ccPEMfhh.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cchnhmck.o:wall.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccPEMfhh.o: in function `main':
grader.cpp:(.text.startup+0x133): undefined reference to `buildWall(int, int, int*, int*, int*, int*, int*)'
collect2: error: ld returned 1 exit status