Код: Выделить всё
int a, b, c, d;
long long sum = a + b + c + d;
Код: Выделить всё
long long sum = a;
sum += b;
sum += c;
sum += d;
Подробнее здесь: https://stackoverflow.com/questions/787 ... -output-in
Код: Выделить всё
int a, b, c, d;
long long sum = a + b + c + d;
Код: Выделить всё
long long sum = a;
sum += b;
sum += c;
sum += d;