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

#TimeUsernameProblemLanguageResultExecution timeMemory
412777rqiCoins (IOI17_coins)C++14
100 / 100
24 ms1536 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; typedef vector<int> vi; int N = 64; vi coin_flips(vi b, int c) { int cur_num = 0; for(int i = 0; i < N; i++){ if(b[i] == 1){ cur_num^=i; } } return vi{cur_num^c}; } int find_coin(vi b) { int cur_num = 0; for(int i = 0; i < N; i++){ if(b[i] == 1){ cur_num^=i; } } return cur_num; }
#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...