Submission #589546

# Submission time Handle Problem Language Result Execution time Memory
589546 2022-07-04T20:48:34 Z shezitt Easter Eggs (info1cup17_eastereggs) C++14
10 / 100
2 ms 464 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){
		if(query({i})){
			return i;
		}
	}
    return N;
}
# Verdict Execution time Memory Grader output
1 Partially correct 2 ms 208 KB Number of queries: 15
2 Partially correct 2 ms 248 KB Number of queries: 15
3 Partially correct 1 ms 208 KB Number of queries: 15
4 Partially correct 1 ms 208 KB Number of queries: 15
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 432 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 464 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -