# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
848201 | mohammedMonem | Overtaking (IOI23_overtaking) | C++17 | 1 ms | 348 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#include <utility>
#include "overtaking.h"
#define ll long long
using namespace std;
int roadLength;
vector<int> sortingStationsPositions;
class bus {
public:
ll departingTime;
int speed;
bus(ll departingTimeP, int speedP) {
departingTime = departingTimeP;
speed = speedP;
}
};
vector<bus> buses;
void init(int L, int N, vector<ll> T, vector<int> W, int X, int M, vector<int> S) {
roadLength = L, sortingStationsPositions = std::move(S);
for (int i = 0; i < N; ++i) {
buses.emplace_back(T[i], W[i]);
}
# | 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... |