This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
const int BOWLS = 40; | |
const int ORANGES = 9; | |
int count = 0; | |
// All the places in which an orange can't be placed are 1's | |
int used[BOWLS]; | |
// A list of the oranges already placed. |