답안 #815111

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
815111 2023-08-08T12:27:34 Z Liudas 친구 (IOI14_friend) C++17
컴파일 오류
0 ms 0 KB
#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

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);
      |         ^~~~~~~~~