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

#TimeUsernameProblemLanguageResultExecution timeMemory
1080194Jawad_Akbar_JJPacking Biscuits (IOI20_biscuits)C++17
0 / 100
1 ms348 KiB
#include <iostream> #include <vector> using namespace std; long long count_tastiness(long long x, vector<long long> a){ while (a.size() < 60) a.push_back(0); int k = 60; for (int i=1;i<k;i++){ a[i] += a[i-1] / 2; a[i-1] %= 2; } long long ans = 1; for (int i=0;i<k;i++) if (a[i]) ans *= 2; 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...