Submission #777886

#TimeUsernameProblemLanguageResultExecution timeMemory
777886Mouad_oujCatfish Farm (IOI22_fish)C++17
Compilation error
0 ms0 KiB
#include<iostream> 
using namespace std;
int64 max_weights(int N, int M, int[] X, int[] Y, int[] W)
{
    int64 ans=0;
    for(int x=0;x<m;x++)
    ans+=W[x];
    return ans;
}

Compilation message (stderr)

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