(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 #885171

#TimeUsernameProblemLanguageResultExecution timeMemory
885171epicci23Packing Biscuits (IOI20_biscuits)C++17
0 / 100
1 ms348 KiB
#include "biscuits.h" #include "bits/stdc++.h" using namespace std; typedef long long ll; #define pb push_back #define sz(x) ((int)(x).size()) #define all(x) (x).begin(),(x).end() ll count_tastiness(ll x,vector<ll> a){ vector<ll> ne(100,0); for(int i=0;i<sz(a);i++) ne[i]=a[i]; for(int i=0;i<99;i++){ ll u = ne[i]/2; ne[i+1]+=u; ne[i]&=1; } ll kac=0; for(int i=0;i<100;i++){ if(ne[i]==1LL) kac++; } return (1LL<<kac); }
#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...