Solution: introduced constants, use std::min/std::max instead of control structures
Attach a file by drag & drop or click to upload