Submission #815111

#TimeUsernameProblemLanguageResultExecution timeMemory
815111LiudasFriend (IOI14_friend)C++17
Compilation error
0 ms0 KiB
#include "friend.h" #include<bits/stdc++.h> using namespace std; int findSample(int n,int confidence[],int host[],int protocol[]){ return acumulate(confidence, confidence + n, 0ll); }

Compilation message (stderr)

friend.cpp: In function 'int findSample(int, int*, int*, int*)':
friend.cpp:6:9: error: 'acumulate' was not declared in this scope
    6 |  return acumulate(confidence, confidence + n, 0ll);
      |         ^~~~~~~~~