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

Submission #1093377

#TimeUsernameProblemLanguageResultExecution timeMemory
1093377Uniq0rnCoins (IOI17_coins)C++14
Compilation error
0 ms0 KiB
#include <coins.h> #include <bits/stdc++.h> using namespace std; vector<int> coin_flips(vector<int>& b,int c){ int p = 0; for(int i=0;i<64;i++){ if(b[i]) continue; p ^= i; } c ^= p; return {c}; } int find_coin(vector<int>& b){ int p = 0; for(int i=0;i<64;i++){ if(b[i]) p ^= i; } return p; }

Compilation message (stderr)

/usr/bin/ld: /tmp/ccVwK77f.o: in function `main':
grader.cpp:(.text.startup+0x3a5): undefined reference to `coin_flips(std::vector<int, std::allocator<int> >, int)'
/usr/bin/ld: grader.cpp:(.text.startup+0x997): undefined reference to `find_coin(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status