# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
363890 | wind_reaper | Collecting Stamps 3 (JOI20_ho_t3) | C++17 | 188 ms | 129552 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>
using namespace std;
const int64_t INF = 1e16;
template<typename T>
void smin(T &a, T b){
a = min(a, b);
}
int32_t main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
int64_t l;
cin >> n >> l;
vector<int64_t> pos(n+2), t(n+2);
for(int i = 1; i <= n; i++)
cin >> pos[i];
for(int i = 1; i <= n; i++)
cin >> t[i];
t[0] = 0;
pos[0] = 0;
pos[n+1] = l;
t[n+1] = 0;
# | 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... |