Tip: avoid integer overflow in C++ sums

A common beginner mistake is multiplying or summing large values in a 32-bit int. If the result can pass about 2 billion, use long long instead. Also use 1LL when multiplying, for example 1LL * a * b, so the multiplication happens in 64 bits. What other beginner pitfalls have you run into?