제출 #988668

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