Submission #1307418

#TimeUsernameProblemLanguageResultExecution timeMemory
1307418huangzijia11Catfish Farm (IOI22_fish)C++20
Compilation error
0 ms0 KiB
int64 max_weights(int N, int M, int[] X, int[] Y, int[] W) { int64 res = 0; for (int i = 0; i < N; i++) res += W[i]; return res; }

Compilation message (stderr)

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