分巧克力--招商银行

#include <iostream>
#include <algorithm>
#include "string"
using namespace std;


long GetResult(int n)
{
	long count;
	if (n < 6)
	{
		return 0;
	}
	else
	{
		count = pow(2, (n - 6));
		count = count % 6666666;
	}
	return count;
}

int main()
{
	cout << GetResult(8);
	system("pause");
	return 0;
}

 

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2021-06-15
  • 2021-12-06
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-14
  • 2022-01-21
  • 2021-09-12
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案