Submission #288908

# Submission time Handle Problem Language Result Execution time Memory
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;
}
# Verdict Execution time Memory 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
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory 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 -