Submission #777884

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

Compilation message (stderr)

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