제출 #313465

#제출 시각아이디문제언어결과실행 시간메모리
313465kylych03친구 (IOI14_friend)C++14
0 / 100
2 ms2728 KiB
#include "friend.h" #include <bits/stdc++.h> //#include "grader.cpp" using namespace std; // Find out best sample bool f[3]; vector <int> g[100001]; int findSample(int n,int confidence[],int host[],int protocol[]){ int ans=10, sum=0, mx=0; for(int i = 0 ; i < n-1;i++){ f[protocol[i]]=true; } for(int i =0; i < n; i++){ sum +=confidence[i]; mx = max(mx, confidence[i] ); } if(!f[0] && !f[2]) return sum; if(!f[0] && !f[1]) return mx; if(n<=10){ } return ans; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...