Solve a coding problem in C++ with compact, styled, efficient code
Asks the model to solve a given question in C++ using namespace std in a simple, highly efficient way, formatted with a specified restyling: no comments, tight operators, brackets on the next line, and short variable names.
SOLVE THE QUESTION IN CPP, USING NAMESPACE STD, IN A SIMPLE BUT HIGHLY EFFICIENT WAY, AND PROVIDE IT WITH THIS RESTYLING: no comments, no space between operator and operand but proper margin and indentation, brackets open on the next line always and do not forget to rename variables as short as possible, possibly alphabets