제출 #1026891

#제출 시각아이디문제언어결과실행 시간메모리
1026891Andriana88Coins (IOI17_coins)C++14
100 / 100
10 ms1840 KiB
#include "coins.h" #include<iostream> using namespace std; vector<int> coin_flips(vector<int> b, int c) { vector<int> flips; int s=0; for(int i=0;i<64;++i) { if(b[i]==1) s^=i; } flips.push_back(s^c); return flips; } int find_coin(vector<int> b) { int res=0; for(int i=0;i<64;++i) { if(b[i]==1) res^=i; } return res; }
#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...