Submission #680476

# Submission time Handle Problem Language Result Execution time Memory
680476 2023-01-11T00:09:02 Z aabbfc21 Catfish Farm (IOI22_fish) C++17
Compilation error
0 ms 0 KB
#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

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