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

제출 #1112756

#제출 시각아이디문제언어결과실행 시간메모리
1112756enzyCoins (IOI17_coins)C++14
100 / 100
11 ms1852 KiB
#include "coins.h" #include<bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int> b, int c) { vector<int>flips; int x=0, cnt=0; for(int a : b){ if(a==1) x=x^cnt; cnt++; } flips.push_back(x^c); return flips; } int find_coin(vector<int> b){ int x=0, cnt=0; for(int a : b){ if(a==1) x=x^cnt; cnt++; } return x; }
#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...