Submission #385927

# Submission time Handle Problem Language Result Execution time Memory
385927 2021-04-05T08:46:01 Z BlancaHM Easter Eggs (info1cup17_eastereggs) C++14
10 / 100
2 ms 512 KB
#include <iostream>
#include <vector>
#include <set>
#include <algorithm>
#include <queue>
#include "grader.h"
using namespace std;

int findEgg(int N, vector <pair<int,int>> aristas) {
	for (int i = 1; i < N; i++) {
		vector<int> vec = {i};
		if(query(vec))
			return i;
	}
	return N;
}
# Verdict Execution time Memory Grader output
1 Partially correct 2 ms 364 KB Number of queries: 15
2 Partially correct 2 ms 364 KB Number of queries: 15
3 Partially correct 2 ms 364 KB Number of queries: 15
4 Partially correct 2 ms 364 KB Number of queries: 15
# Verdict Execution time Memory Grader output
1 Runtime error 2 ms 512 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 2 ms 492 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -