Submission #761263

#TimeUsernameProblemLanguageResultExecution timeMemory
761263raul2008487Catfish Farm (IOI22_fish)C++17
Compilation error
0 ms0 KiB
#include "fish.h" #inlcude<bits/stdc++.h> using namespace std; long long max_weights(int N, int M, std::vector<int> X, std::vector<int> Y, std::vector<int> W) { long long i,s1=0,s2=0; for(i=0;i<N;i++){ if(X[i]==0){ s1+=W[i]; } else{ s2+=W[i]; } } return max(s1,s2); }

Compilation message (stderr)

fish.cpp:2:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    2 | #inlcude<bits/stdc++.h>
      |  ^~~~~~~
      |  include