답안 #238994

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
238994 2020-06-13T23:37:48 Z tleontest1 친구 (IOI14_friend) C++14
8 / 100
5 ms 384 KB
#include "friend.h"

// Find out best sample
int findSample(int n,int confidence[],int host[],int protocol[]){
	//~ for(int i=1;i<n;i++){
		//~ if(protocol[i]==0){
			//~ v[host[i]].pb(i);
			//~ v[i].pb(host[i]);
			//~ continue;
		//~ }
		//~ if(protocol[i]==1){
			//~ for(int j=0;j<(int)v[node].size();j++){
				
			//~ }
		//~ }
	//~ }
	int ans=0;
	for(int i=0;i<n;i++){
		ans+=confidence[i];
	}
	return ans;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 5 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 256 KB Output is correct
2 Correct 5 ms 256 KB Output is correct
3 Correct 5 ms 384 KB Output is correct
4 Correct 5 ms 384 KB Output is correct
5 Correct 5 ms 384 KB Output is correct
6 Correct 5 ms 384 KB Output is correct
7 Correct 5 ms 256 KB Output is correct
8 Correct 5 ms 384 KB Output is correct
9 Correct 5 ms 384 KB Output is correct
10 Correct 5 ms 384 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 5 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 5 ms 256 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 5 ms 384 KB Output is correct
2 Incorrect 5 ms 384 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 4 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -