Submission #917039

# Submission time Handle Problem Language Result Execution time Memory
917039 2024-01-27T03:56:45 Z penguin133 Truck Driver (IOI23_deliveries) C++17
8 / 100
75 ms 10576 KB
#include "deliveries.h"
#include <bits/stdc++.h>
using namespace std;
vector <int> w, t;
void init(int N, std::vector<int> U, std::vector<int> V, std::vector<int> T, std::vector<int> W) {
  w = W;
  t = T;
	return;
}
 
long long max_time(int S, int X) {
  w[S] = X;
	return 1ll * min(w[0] + 1, w[1]) * t[0] * 2;
}
# Verdict Execution time Memory Grader output
1 Correct 66 ms 7648 KB Output is correct
2 Correct 68 ms 10068 KB Output is correct
3 Correct 67 ms 10324 KB Output is correct
4 Correct 67 ms 10308 KB Output is correct
5 Correct 75 ms 10576 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 66 ms 7648 KB Output is correct
2 Correct 68 ms 10068 KB Output is correct
3 Correct 67 ms 10324 KB Output is correct
4 Correct 67 ms 10308 KB Output is correct
5 Correct 75 ms 10576 KB Output is correct
6 Incorrect 1 ms 348 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 66 ms 7648 KB Output is correct
2 Correct 68 ms 10068 KB Output is correct
3 Correct 67 ms 10324 KB Output is correct
4 Correct 67 ms 10308 KB Output is correct
5 Correct 75 ms 10576 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 66 ms 7648 KB Output is correct
2 Correct 68 ms 10068 KB Output is correct
3 Correct 67 ms 10324 KB Output is correct
4 Correct 67 ms 10308 KB Output is correct
5 Correct 75 ms 10576 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 -