(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

제출 #133580

#제출 시각아이디문제언어결과실행 시간메모리
133580dvdg6566Coins (IOI17_coins)C++14
100 / 100
13 ms1540 KiB
#include "coins.h" #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<ll> vi; typedef pair<ll,ll> pi; typedef pair<ll, pi> pii; typedef set<ll> si; typedef vector<pi> vpi; typedef double dl; #define mp make_pair #define pb push_back #define f first #define s second ll MOD = 1e9+7; #define lb lower_bound #define ub upper_bound #define INF 1000000000 #define SZ(x) x.size() #define ALL(x) x.begin(),x.end() std::vector<int> coin_flips(std::vector<int> b, int c) { int t = 0; for (int i=0;i<64;++i){ if (b[i])t = t^i; } t = t^c; vector<int> V; V.pb(t); return V; } int find_coin(std::vector<int> b) { int t = 0; for (int i=0;i<64;++i){ if (b[i])t = t^i; } return t; }
#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...