Submission #304904

# Submission time Handle Problem Language Result Execution time Memory
304904 2020-09-22T07:40:07 Z model_code Stations (IOI20_stations) C++17
0 / 100
6 ms 416 KB
#include "stations.h"
#include <vector>

std::vector<int> label(int n, int k, std::vector<int> u, std::vector<int> v) {
	std::vector<int> labels(n);
	for (int i=0; i<n; i++)
		labels[i] = ((n%100 == 0) ? -1 : (k+1));
	return labels;
}

int find_next_station(int s, int t, std::vector<int> c) {
	return c[0];
}
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 376 KB Invalid labels (values out of range). scenario=0, k=1000, vertex=0, label=1001
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 6 ms 384 KB Invalid labels (values out of range). scenario=0, k=1000, vertex=0, label=1001
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 416 KB Invalid labels (values out of range). scenario=0, k=1000000, vertex=0, label=1000001
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 256 KB Invalid labels (values out of range). scenario=0, k=1000000000, vertex=0, label=1000000001
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 384 KB Invalid labels (values out of range). scenario=0, k=1000000000, vertex=0, label=1000000001
2 Halted 0 ms 0 KB -