Submission #517067

# Submission time Handle Problem Language Result Execution time Memory
517067 2022-01-22T13:16:44 Z Ai7081 Stations (IOI20_stations) C++17
0 / 100
1 ms 292 KB
#include <bits/stdc++.h>
using namespace std;
const int N = 1005;

int p;
vector<int> ret;

vector<int> label(int n, int k, vector<int> u, vector<int> v) {
    for (int i=0; i<n; i++) ret.push_back(i+1);
    return ret;
}

int find_next_station(int s, int t, vector<int> c) {
    //s++, t++;
    if (t < s) return s/2;
    while (t != s) {
        p = t;
        t /= 2;
    }
    return p;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 292 KB Invalid length of array as the response of 'label'. scenario=1, n=3, len=13
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 292 KB Invalid length of array as the response of 'label'. scenario=1, n=994, len=1990
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 288 KB Invalid length of array as the response of 'label'. scenario=1, n=997, len=999
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 200 KB Invalid length of array as the response of 'label'. scenario=1, n=2, len=4
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 264 KB Invalid length of array as the response of 'label'. scenario=1, n=998, len=1001
2 Halted 0 ms 0 KB -