제출 #874022

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