Submission #1100394

#TimeUsernameProblemLanguageResultExecution timeMemory
1100394akzytrCoins (IOI17_coins)C++17
0 / 100
5 ms1524 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'

vector<int> coin_flips(vector<int> b, int c) {
    vector<int> turn;
    if(c==0){
        if(b[0] == b[1]){
            turn.pb(63);
        }
        else{
            turn.pb(0);
        }
    }
    else{
        if(b[0] == b[1]){
            turn.pb(0);
        }
        else{
            turn.pb(63);
        }
    }
    return b;
  
}

int find_coin(vector<int> b) {
    return b[0] != b[1];
}
#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...