Submission #685184

# Submission time Handle Problem Language Result Execution time Memory
685184 2023-01-23T16:35:29 Z heeheeheehaaw Mouse (info1cup19_mouse) C++17
0 / 100
1 ms 208 KB
#include <iostream>
#include "grader.h"

using namespace std;

void solve(int n)
{
    vector<int> q(n, 0);
    vector<int> rez(n, 0);
    for(int i = 1; i <= n; i++)
    {
        for(int j = 0; j < n; j++)
        {
            q[j] = i;
            if(query(q) == 1)
            {
                rez[j] = i;
                break;
            }
            q[j] = 0;
        }
    }

    query(rez);
    return;
}
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -