Submission #858689

# Submission time Handle Problem Language Result Execution time Memory
858689 2023-10-09T04:41:48 Z MasterDobby Catfish Farm (IOI22_fish) C++17
Compilation error
0 ms 0 KB
#include <bits/stdc++.h>
#define all(a) a.begin(),a.end()
#define pii pair<int,int>

using namespace std;
using ll = long long;

const int N=1e5+10;

int64 max_weights(int N, int M, int[] X, int[] Y, int[] W){
    int64 ans=0;
    for(int i=0;i<M;i++) ans+=w[i];
    return ans;
}

Compilation message

fish.cpp:10:1: error: 'int64' does not name a type; did you mean 'int64_t'?
   10 | int64 max_weights(int N, int M, int[] X, int[] Y, int[] W){
      | ^~~~~
      | int64_t