Submission #685187

# Submission time Handle Problem Language Result Execution time Memory
685187 2023-01-23T16:39:26 Z heeheeheehaaw Mouse (info1cup19_mouse) C++17
0 / 100
0 ms 208 KB
#include <bits/stdc++.h>
#include "grader.h"

using namespace std;

int query(vector<int> q);
void solve(int n)
{
    vector<int> q(n + 1, 0);
    vector<int> rez(n + 1, 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 0 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 0 ms 208 KB Execution killed with signal 13
2 Halted 0 ms 0 KB -