79451435

Date: 2025-02-19 13:08:26
Score: 0.5
Natty:
Report link

You can also do

int _, useful_value, another_useful_value;
ss >> _ >> _ >> useful_value >> _ >> another_useful_value;

It uses an extra variable, but is much cleaner and readable in my opinion if you only need to discard a value

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alessandro Muzzi