基础版 int main() { wint_t N; cin >> N; // 64元硬币 wint_t cost = 1024 - N, coin = cost / 64; cost %= 64; // 16元硬币 coin += cost / 16; cost %= 16; // 4元硬币 coin += cost / 4; cost %= 4; // 1元硬币 coin += cost; cout << coin; } 位运算 int main() {...