제출 #1130938

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