Submission #160432

# Submission time Handle Problem Language Result Execution time Memory
160432 2019-10-27T13:45:13 Z impri Koala Game (APIO17_koala) C++14
Compilation error
0 ms 0 KB
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int minValue(int N,int W){
int b[100];
int r[100];
b[0]=1;
playRound(b,r);
for(int i=0;i<100;i++){
    if(r[i]==0)
        return i;
}



}
int maxValue(int N,int W){
    return 0;
}
int greaterValue(int N,int W){
    return 0;
}
void allValues(int N,int W,int  *P){



}

Compilation message

koala.cpp: In function 'int minValue(int, int)':
koala.cpp:8:1: error: 'playRound' was not declared in this scope
 playRound(b,r);
 ^~~~~~~~~
koala.cpp:8:1: note: suggested alternative: 'lround'
 playRound(b,r);
 ^~~~~~~~~
 lround
koala.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^