(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.

제출 #132586

#제출 시각아이디문제언어결과실행 시간메모리
132586miguelCoins (IOI17_coins)C++14
100 / 100
16 ms1708 KiB
#include<bits/stdc++.h> #include<coins.h> using namespace std; #define rc(x) return cout<<x<<endl,0 #define pb push_back #define dbg(x) cout << #x << '=' << x << '\n'; #define ll long long #define sz size() #define x first #define y second #define pi pair <int, int> #define pii pair <int, pi> #define vi vector <int> const ll mod = 998244353; int n; vector<int> coin_flips(vi b, int c){ int res=0; for(int i=0; i<64; i++){ if(b[i]==1) res^=i; } vi lol; lol.pb(res^c); return lol; } int find_coin(vi b){ int res=0; for(int i=0; i<64; i++){ if(b[i]==1) res^=i; } return res; }
#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...