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

#TimeUsernameProblemLanguageResultExecution timeMemory
69339Noam527Coins (IOI17_coins)C++17
100 / 100
13 ms1504 KiB
#include "coins.h" #include <bits/stdc++.h> #define endl '\n' #define fast ios::sync_with_stdio(0), cin.tie(0), cout.tie(0) #define debug cout << "ok" << endl #define finish(x) return cout << x << endl, 0 typedef long long ll; typedef long double ldb; const int md = 1e9 + 7, inf = 1e9 + 7; const ll hs = 199; const ldb eps = 1e-9, pi = acos(-1); using namespace std; vector<int> coin_flips(vector<int> b, int c) { for (int i = 0; i < 64; i++) c ^= (b[i] * i); return{ c }; } int find_coin(vector<int> b) { int rtn = 0; for (int i = 0; i < 64; i++) rtn ^= (b[i] * i); return rtn; }
#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...