제출 #919034

#제출 시각아이디문제언어결과실행 시간메모리
919034vjudge1Coins (IOI17_coins)C++17
100 / 100
8 ms2016 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> a, int c) { int x = 0; for(int i=0; i<64; i++) x ^= a[i] * i; vector<int> flips(1); flips[0] = c^x; return flips; } int find_coin(vector<int> a) { int ans = 0; for(int i=0; i<64; i++) ans ^= a[i] * 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...