제출 #1176402

#제출 시각아이디문제언어결과실행 시간메모리
1176402SulAXoractive (IZhO19_xoractive)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include "interactive.h" #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; const int MOD = 998244353; vector<int> guess(int n) { vector<int> a(n); for (int i = 0; i < n; i++) a[i] = ask(1+i); return a; } signed main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int n; cin >> n; guess(n); }

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

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