Submission #919202

# Submission time Handle Problem Language Result Execution time Memory
919202 2024-01-31T12:51:27 Z PlayVoltz Truck Driver (IOI23_deliveries) C++17
8 / 100
77 ms 10420 KB
#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]);
}
# Verdict Execution time Memory 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
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory 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 -
# Verdict Execution time Memory 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 -