답안 #128608

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
128608 2019-07-11T07:22:18 Z E869120 Easter Eggs (info1cup17_eastereggs) C++14
10 / 100
4 ms 504 KB
#include <iostream>
#include <vector>
#include "grader.h"

using namespace std;

int findEgg(int N, vector<pair<int, int>> bridges) {
	for (int i = 1; i <= N - 1; i++) {
		if (query({ i }) == 1) return i;
	}
	return N;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 304 KB Number of queries: 15
2 Incorrect 3 ms 296 KB Number of queries: 15
3 Incorrect 3 ms 248 KB Number of queries: 15
4 Incorrect 3 ms 248 KB Number of queries: 15
# 결과 실행 시간 메모리 Grader output
1 Runtime error 4 ms 376 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 4 ms 504 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -