제출 #927196

#제출 시각아이디문제언어결과실행 시간메모리
927196vjudge1Hotter Colder (IOI10_hottercolder)C++11
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;

void solve() {
    int n;
    cin >> n;
    cout << n;
}

int main() {
    ios_base::sync_with_stdio(0); cin.tie(0);
    int t = 1;
    //cin >> t;
    while(t--) {
        solve();
    }
}

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

/usr/bin/ld: /tmp/ccdUDCEz.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cclr9bHA.o:hottercolder.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccdUDCEz.o: in function `main':
grader.cpp:(.text.startup+0x1ba): undefined reference to `HC(int)'
collect2: error: ld returned 1 exit status