답안 #897713

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
897713 2024-01-03T15:30:42 Z Malix 꿈 (IOI13_dreaming) C++14
컴파일 오류
0 ms 0 KB
#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> pi;

#define REP(i,a,b) for(int i=a;i<b;i++)
#define F first
#define S second
#define PB push_back
#define MP make_pair


int main(){
 //ios::sync_with_stdio(0);
 //cin.tie(0);
//freopen("test_input.txt", "r", stdin);
 //freopen("test_output.txt", "w", stdout);
   int n,k;cin>>n>>k;
   vi arr(n);
   REP(i,0,n)cin>>arr[i];
   
    
   
}

Compilation message

/usr/bin/ld: /tmp/ccozG2xg.o: in function `main':
dreaming.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc4tEB8i.o:grader.c:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc4tEB8i.o: in function `main':
grader.c:(.text.startup+0xd1): undefined reference to `travelTime'
collect2: error: ld returned 1 exit status