#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;
}
// if (query ({1})) return 1;
// return N;
return 1;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Partially correct |
2 ms |
200 KB |
Number of queries: 16 |
2 |
Partially correct |
1 ms |
200 KB |
Number of queries: 16 |
3 |
Partially correct |
2 ms |
200 KB |
Number of queries: 16 |
4 |
Partially correct |
2 ms |
200 KB |
Number of queries: 16 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
2 ms |
428 KB |
Execution killed with signal 6 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1 ms |
456 KB |
Execution killed with signal 6 |
2 |
Halted |
0 ms |
0 KB |
- |