The answer depends on where the
“No parking” sign is placed. This sign bans parking on the side of the road where it is placed and applies from the sign to the nearest intersection. Here it is mounted over the roadway of a one-way road (the
sign), and this question treats the ban as covering the roadway's whole width, both the right and the left edge. The blue car is parked at the right edge past the sign, which is a violation. The red car is parked at the left edge: in town, parking on the left side of a one-way road is normally allowed, but when the sign applies this way, the ban covers that side too. So both drivers broke the rules