【算法】猴子选大王问题


#define MAX 100
#include 
void main()
{
	int a[MAX];
	int i,j=0,k=0,n,m;  //n:monkey  m:number

	printf("****The king of monkey****\n");
	printf("The number of the monkey:");
	scanf("%d",&n);
	printf("The number to read:");
	scanf("%d",&m);
	printf("The king is NO.");
	for(i=0;i


你可能感兴趣的:(ini,算法/数据结构)