#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;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Partially correct |
2 ms |
364 KB |
Number of queries: 16 |
2 |
Partially correct |
3 ms |
364 KB |
Number of queries: 16 |
3 |
Partially correct |
3 ms |
364 KB |
Number of queries: 16 |
4 |
Partially correct |
3 ms |
364 KB |
Number of queries: 16 |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
2 ms |
492 KB |
Execution killed with signal 6 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
2 ms |
492 KB |
Execution killed with signal 6 |
2 |
Halted |
0 ms |
0 KB |
- |