Submission #680476

#TimeUsernameProblemLanguageResultExecution timeMemory
680476aabbfc21Catfish Farm (IOI22_fish)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int64 max_weights(int N, int M, int[] X, int[] Y, int[] W) { int64 sum = 0; for (int i = 0; i < M; i++) { sum += W[i]; } return sum; }

Compilation message (stderr)

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