Submission #897713

# Submission time Handle Problem Language Result Execution time Memory
897713 2024-01-03T15:30:42 Z Malix Dreaming (IOI13_dreaming) C++14
Compilation error
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