답안 #927196

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
927196 2024-02-14T11:57:06 Z vjudge1 Hotter Colder (IOI10_hottercolder) C++11
컴파일 오류
0 ms 0 KB
#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();
    }
}

Compilation message

/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