제출 #263683

#제출 시각아이디문제언어결과실행 시간메모리
263683oolimryDancing Elephants (IOI11_elephants)C++14
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int main() { long long sum = 0; for (int i = 0; i <= 300000000; i++){ sum += rand(); } assert(false); return 0; }

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

/tmp/ccHmLj6w.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/cc4dZ3s8.o:elephants.cpp:(.text.startup+0x0): first defined here
/tmp/ccHmLj6w.o: In function `main':
grader.cpp:(.text.startup+0x18): undefined reference to `init(int, int, int*)'
grader.cpp:(.text.startup+0x3a): undefined reference to `update(int, int)'
collect2: error: ld returned 1 exit status