示例#1
0
int main() {
  BallAndHats b;
  string a = "o..";
  int s = 101;
  cout << b.getHat(a, s) << endl;
  return 0;
}
示例#2
0
int main()
{
	BallAndHats bhs;
	string hats = "o..";
	int nswaps = 101;

	int finpos = bhs.getHat(hats, nswaps);
	return 0;
}