This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#ifndef LOCAL
#include <friend.h>
#endif
using namespace std;
#define ll long long
#define pii pair<int, int>
#define pll pair<ll, ll>
#define SZ(x) (int)(x.size())
#define ALL(x) x.begin(),x.end()
#define FOR(i,a,b) for (int i=a; i<b; i++)
#define REP(i,n) FOR(i,0,n)
#define RREP(i,n) for (int i = n-1; i>=0; i--)
#define MX(a,b) a = max(a, (__typeof__(a)),b)
#define MN(a,b) a = min(a, (__typeof__(a)),b)
//#define int ll
int findSample(int n, int confidence[], int host[], int protocol[]){
ll re = 0;
REP(i,n){
re += confidence[i];
}
return re;
}
#ifdef LOCAL
int c [ 5 ] = {1,2,3,4,5};
int f[3], p[3];
signed main(){
cout<<findSample(5,c,f,p)<<endl;
}
#endif
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |