Submission #864026

# Submission time Handle Problem Language Result Execution time Memory
864026 2023-10-21T17:31:12 Z Ice_man Truck Driver (IOI23_deliveries) C++17
Compilation error
0 ms 0 KB
#include "deliveries.h"
#include <iostream>
#include <vector>

#define maxn 100005
#define maxq 300005
#define INF 1000000010
#define endl '\n'


using namespace std;

int n;
int pomm[maxn];
int pomm2[maxn];

void init(int N, vector<int> U, vector<int> V, vector<int> T, vector<int> W)
{
    n = N;
    W[0]++;
    for(int i = 0; i < n; i++){ pomm[i] = W[i];pomm2[i] = T[i];}
}


int64 max_time(int S , int X)
{
    pomm[S] = X;
    int minn = min(pomm[0] , pomm[1]);
    return 2 * pomm2[0] * minn;
}


Compilation message

deliveries.cpp:25:1: error: 'int64' does not name a type; did you mean 'int64_t'?
   25 | int64 max_time(int S , int X)
      | ^~~~~
      | int64_t