#include "deliveries.h"
#include <bits/stdc++.h>
using namespace std;
#define int long long
int l;
vector<signed> w;
void init(signed N, vector<signed> U, vector<signed> V, vector<signed> T, vector<signed> W){
w=W;
l=T[0];
}
long long max_time(signed s, signed x){
w[s]=x;
return 2*l*min(w[0]+1, w[1]);
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
71 ms |
7572 KB |
Output is correct |
2 |
Correct |
77 ms |
9984 KB |
Output is correct |
3 |
Correct |
70 ms |
10288 KB |
Output is correct |
4 |
Correct |
77 ms |
10176 KB |
Output is correct |
5 |
Correct |
66 ms |
10420 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '1627540', found: '204' |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
71 ms |
7572 KB |
Output is correct |
2 |
Correct |
77 ms |
9984 KB |
Output is correct |
3 |
Correct |
70 ms |
10288 KB |
Output is correct |
4 |
Correct |
77 ms |
10176 KB |
Output is correct |
5 |
Correct |
66 ms |
10420 KB |
Output is correct |
6 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '45306', found: '144' |
7 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
71 ms |
7572 KB |
Output is correct |
2 |
Correct |
77 ms |
9984 KB |
Output is correct |
3 |
Correct |
70 ms |
10288 KB |
Output is correct |
4 |
Correct |
77 ms |
10176 KB |
Output is correct |
5 |
Correct |
66 ms |
10420 KB |
Output is correct |
6 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '129238', found: '176' |
7 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
71 ms |
7572 KB |
Output is correct |
2 |
Correct |
77 ms |
9984 KB |
Output is correct |
3 |
Correct |
70 ms |
10288 KB |
Output is correct |
4 |
Correct |
77 ms |
10176 KB |
Output is correct |
5 |
Correct |
66 ms |
10420 KB |
Output is correct |
6 |
Incorrect |
1 ms |
344 KB |
3rd lines differ - on the 1st token, expected: '1627540', found: '204' |
7 |
Halted |
0 ms |
0 KB |
- |