Submission #954951

# Submission time Handle Problem Language Result Execution time Memory
954951 2024-03-29T00:28:19 Z irmuun Stations (IOI20_stations) C++17
0 / 100
570 ms 948 KB
#include<bits/stdc++.h>
#include "stations.h"
 
using namespace std;
 
#define ll long long
#define pb push_back
#define ff first
#define ss second
#define all(s) s.begin(),s.end()
#define rall(s) s.rbegin(),s.rend()

vector<int>label(int n,int k,vector<int>u,vector<int>v){
    vector<int>l(n);
    iota(all(l),0);
    return l;
}

int find_next_station(int s,int t,vector<int>c){
    if(t<s) return c[0];
    return c.back();
}
# Verdict Execution time Memory Grader output
1 Incorrect 376 ms 948 KB Wrong query response.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 292 ms 796 KB Wrong query response.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 354 ms 684 KB Wrong query response.
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 570 ms 684 KB Output is correct
2 Incorrect 444 ms 940 KB Wrong query response.
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 339 ms 856 KB Wrong query response.
2 Halted 0 ms 0 KB -