제출 #393090

#제출 시각아이디문제언어결과실행 시간메모리
393090strawberry2005Coins (IOI17_coins)C++17
0 / 100
9 ms1364 KiB
#include "coins.h" #include<bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> b, int c) { vector<int> ans; int f=0; for(int i=0;i<64;i++) if(b[i]) f^=i; ans.push_back(f^c); return ans; } int find_coin(vector<int> b) { int f=0; for(int i=0;i<64;i++) if(b[i]) f^=b[i]; return(f); }
#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...