只有简单的状态显示
#include "iostream"
using namespace std;
void AT(char monkeyplace, char boxplace)
{
cout << "AT(monkey," << monkeyplace << ")" << endl;
cout << "AT(box," << boxplace << ")" << endl;
}
void STATE(int on, int HB)
{
if (on ==
只有简单的状态显示
#include "iostream"
using namespace std;
void AT(char monkeyplace, char boxplace)
{
cout << "AT(monkey," << monkeyplace << ")" << endl;
cout << "AT(box," << boxplace << ")" << endl;
}
void STATE(int on, int HB)
{
if (on ==