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

#TimeUsernameProblemLanguageResultExecution timeMemory
318821Vladth11Coins (IOI17_coins)C++14
100 / 100
12 ms1968 KiB
#include <bits/stdc++.h> #include "coins.h" #define debug(x) cerr << #x << " " << x << "\n" #define debug_with_space(x) cerr << #x << " " << x << " " using namespace std; typedef long long ll; typedef pair <int, int> pii; typedef pair <int, pii> muchie; vector<int> coin_flips(vector<int> b, int c) { vector<int> flips; int rez = find_coin(b); rez = rez ^ c; flips.push_back(rez); return flips; } int find_coin(vector<int> b) { int rez = 0; for(int i = 0; i < 64; i++){ if(b[i]) rez ^= i; } return rez; }
#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...