02.10 · Problem
Parse the Noisy Price Tag
This problem is part of solulu Pro
A scanner reads a price tag as text that may start with spaces, then an optional + or -, then digits, and then maybe garbage. Convert it to an integer: skip leading spaces, read the sign, read digits until something else…
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 30 of 94 · updated 2026-10-12