Вот мой пример кода:
Код: Выделить всё
unsigned long long shiftresult = 1ULL;
for (int i = 0; i < 64; i++) {
shiftresult = (1ULL
Подробнее здесь: [url]https://stackoverflow.com/questions/79054611/why-do-cout-and-printf-produce-different-results[/url]