#include <vector>
#include <cassert>
#include "grader.h"
using namespace std;
int findEgg(int N, vector < pair < int, int > > bridges);
int query(vector < int > islands);
int findEgg(int n, vector<pair<int,int>>bridges){
assert(n<=16);
for(int i=1; i<=n; i++){
if(query({i}))
return i;
}
return -1;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
3 ms |
376 KB |
Number of queries: 16 |
2 |
Incorrect |
3 ms |
376 KB |
Number of queries: 16 |
3 |
Incorrect |
3 ms |
376 KB |
Number of queries: 16 |
4 |
Incorrect |
4 ms |
440 KB |
Number of queries: 16 |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
2 ms |
696 KB |
Execution killed with signal 11 (could be triggered by violating memory limits) |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
3 ms |
812 KB |
Execution killed with signal 11 (could be triggered by violating memory limits) |
2 |
Halted |
0 ms |
0 KB |
- |