답안 #288908

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
288908 2020-09-02T06:52:35 Z andreiomd Easter Eggs (info1cup17_eastereggs) C++11
10 / 100
2 ms 544 KB
#include <vector>
#include "grader.h"

using namespace std;

typedef pair < int, int > PII;

int findEgg (int n, vector < PII > edges)
{
    for(int i = 1; i < n; ++i)
    {
        vector < int > V;
        V.push_back(i);

        if(query(V))
            return i;
    }

    return n;
}
# 결과 실행 시간 메모리 Grader output
1 Partially correct 2 ms 256 KB Number of queries: 15
2 Partially correct 2 ms 256 KB Number of queries: 15
3 Partially correct 2 ms 256 KB Number of queries: 15
4 Partially correct 2 ms 256 KB Number of queries: 15
# 결과 실행 시간 메모리 Grader output
1 Runtime error 2 ms 512 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 2 ms 544 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -