c++
#include <iostream>
#include <unordered_map>
using namespace std;
unordered_map<int, bool> h;
int main()
{
for (int i = 0; i <= 5; i ++ )
for (int j = 0; j <= 4; j ++ )
for (int k = 0; k <= 6; k ++ )
h[i * 8 + j * 10 + k * 18] = true;
cout << h.size() - 1;
return 0;
}
登录后发布评论
暂无评论,来抢沙发