제출 #1042657

#제출 시각아이디문제언어결과실행 시간메모리
1042657jer033친구 (IOI14_friend)C++17
16 / 100
1 ms448 KiB
#include "friend.h" #include <bits/stdc++.h> using namespace std; // Find out best sample int findSample(int n,int confidence[],int host[],int protocol[]){ if (protocol[1] == 1) { int ans = 0; for (int k=0; k<n; k++) ans += confidence[k]; return ans; } int ans = 0; for (int k=0; k<n; k++) { if (confidence[k] > ans) ans = confidence[k]; } 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...