답안 #305677

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
305677 2020-09-23T19:14:59 Z amunduzbaev Detecting Molecules (IOI16_molecules) C++14
컴파일 오류
0 ms 0 KB
#include "molecules.h"
#include <bits/stdc++.h>
#include "grader.cpp"
using namespace std;
vector<int> find_subset(int l, int u, vector<int> a)
{

    vector<int>ans;
    int n=0;
    int f=a[0];
    while((n+1)*f<=u){
        ans.push_back(n);
        n++;
    }

    if(n*f<l)
        ans.clear();
    return ans;

}

Compilation message

/tmp/ccoiQlNs.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccFnB25d.o:molecules.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status