(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 #1100388

#TimeUsernameProblemLanguageResultExecution timeMemory
1100388akzytrCoins (IOI17_coins)C++17
0 / 100
3 ms1108 KiB
#include "coins.h" #include <bits/stdc++.h> using namespace std; template<typename T>using ve=vector<T>; template<typename T,int sz>using ar=array<T, sz>; typedef long long ll; #define pb push_back #define fi first #define se second #define endl '\n' std::vector<int> coin_flips(std::vector<int> b, int c) { // SUbtask 1 assert(c < 2); b[63] = c; } int find_coin(std::vector<int> b) { // Subtask 1 return b[63]; }

Compilation message (stderr)

coins.cpp: In function 'std::vector<int> coin_flips(std::vector<int>, int)':
coins.cpp:15:11: warning: control reaches end of non-void function [-Wreturn-type]
   15 |     b[63] = c;
#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...