(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #614097

#TimeUsernameProblemLanguageResultExecution timeMemory
614097Dan4LifePacking Biscuits (IOI20_biscuits)C++17
0 / 100
1 ms340 KiB
#include "biscuits.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define sz(a) (int)a.size() ll count_tastiness(ll x, vector<ll> a) { for(int i = 0; i < sz(a)-1; i++) a[i+1]+=((a[i]-1)/2), a[i]%=2; ll ans = 1; for(auto u : a) ans*=u+1; 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...