Submission #433848

#TimeUsernameProblemLanguageResultExecution timeMemory
433848kwongwengPacking Biscuits (IOI20_biscuits)C++17
0 / 100
1 ms372 KiB
#include "biscuits.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; ll count_tastiness(ll x, vector<ll> a) { ll ans = 0; int k = a.size(); for (int i = 0; i < k; i++){ ll val = (1<<i); ans += val * a[i]; } return ans + 1; }
#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...