koala.cpp:1:5: error: expected constructor, destructor, or type conversion before '(' token
fill(B,B+N,0);
^
koala.cpp:2:9: error: 'B' does not name a type
B[0] = 1;
^
koala.cpp:3:9: error: 'B' does not name a type
B[1] = 1;
^
koala.cpp:4:18: error: expected constructor, destructor, or type conversion before '(' token
playRound(B,R);
^
koala.cpp:5:9: error: expected unqualified-id before 'if'
if(R[0] == 0) return 1;
^~
koala.cpp:6:9: error: expected unqualified-id before 'if'
if(R[1] == 0) return 0;
^~