Submission #890555

# Submission time Handle Problem Language Result Execution time Memory
890555 2023-12-21T13:09:37 Z Iwantbemaster Easter Eggs (info1cup17_eastereggs) C++14
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#include "grader.h"
using namespace std;
int findegg(int N, vector<pair<int, int>> bridges){
	for(int i = 1; i <= N; i++){
		vector<int> res; res.emplace_back(i);
		if(query ({res})) return i;
	} return N;
}

Compilation message

/usr/bin/ld: /tmp/ccKbeixt.o: in function `main':
grader.cpp:(.text.startup+0x1e6): undefined reference to `findEgg(int, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >)'
collect2: error: ld returned 1 exit status