제출 #318820

#제출 시각아이디문제언어결과실행 시간메모리
318820Vladth11Coins (IOI17_coins)C++14
0 / 100
10 ms1728 KiB
#include <bits/stdc++.h> #include "coins.h" #define debug(x) cerr << #x << " " << x << "\n" #define debug_with_space(x) cerr << #x << " " << x << " " using namespace std; typedef long long ll; typedef pair <int, int> pii; typedef pair <int, pii> muchie; vector<int> coin_flips(vector<int> b, int c) { vector<int> flips; int rez = find_coin(b); rez = rez ^ c; flips.push_back(rez); return flips; } int find_coin(vector<int> b) { int rez = 0; for(int i = 0; i < 63; i++){ if(b[i]) rez ^= i; } return rez; }
#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...