# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1009454 | PotatoMan | 추월 (IOI23_overtaking) | C++17 | 1402 ms | 67432 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "overtaking.h"
#include <bits/stdc++.h>
#define ll long long
#define pii pair<ll,ll>
#define mp make_pair
using namespace std;
struct Bus{
ll W,S;
Bus(ll w,ll s){
W = w, S = s;
}
};
bool cmp(Bus b1,Bus b2){
if( b1.S == b2.S ) return b1.W < b2.W;
return b1.S < b2.S;
}
vector<Bus> bus;
vector<vector<pii>> AT(1005);
vector<ll> station;
ll n,m,x;
ll memo[1005][1005];
int FindP(int i,ll time){
int cur = lower_bound(AT[i].begin(),AT[i].end(),mp(time,(ll)-1)) - AT[i].begin();
int p = i, tl = i, tr = m-1;
while( tl <= tr ){
int tm = (tl + tr) / 2;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |