제출 #969956

#제출 시각아이디문제언어결과실행 시간메모리
969956irmuunCoins (IOI17_coins)C++17
100 / 100
9 ms1948 KiB
#include<bits/stdc++.h> #include "coins.h" using namespace std; #define ll long long #define pb push_back #define ff first #define ss second #define all(s) s.begin(),s.end() #define rall(s) s.rbegin(),s.rend() vector<int>coin_flips(vector<int>b,int c){ int xr=c; for(int i=0;i<64;i++){ if(b[i]==0) xr^=i; } return {xr}; } int find_coin(vector<int>b){ int xr=0; for(int i=0;i<64;i++){ if(b[i]==0) 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...