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

#TimeUsernameProblemLanguageResultExecution timeMemory
1096629sofppCoins (IOI17_coins)C++14
100 / 100
7 ms1824 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> b, int c) { vector<int> flips; int txor=0; for(int i=0;i<64;i++){ if(b[i]){ txor^=i; } } flips.push_back(c^txor); return flips; } int find_coin(vector<int> b) { int txor=0; for(int i=0;i<64;i++){ if(b[i]){ txor^=i; } } return txor; }
#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...