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 "biscuits.h"
#include<bits/stdc++.h>
using namespace std;
long long subtask2(long long x, std::vector<long long> a) {
int n=a.size();
long long ans=1;
for(int i=0; i<n; i++){
ans*=(a[i]+1);
}
return ans;
}
long long count_tastiness(long long x, std::vector<long long> a) {
if(x==1){
return subtask2(x, a);
}
return 0;
}
# | 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... |