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

#TimeUsernameProblemLanguageResultExecution timeMemory
531475AdamGSCoins (IOI17_coins)C++17
100 / 100
12 ms1528 KiB
#include "coins.h" #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define rep(a, b) for(int a = 0; a < (b); ++a) #define st first #define nd second #define pb push_back #define all(a) a.begin(), a.end() vector<int>coin_flips(vector<int>V, int c) { vector<int>ans(1); int akt=0; rep(i, 64) if(V[i]) akt^=i; ans[0]=c^akt; return ans; } int find_coin(vector<int>V) { int ans=0; rep(i, 64) if(V[i]) ans^=i; 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...