#t13. 雷达测速仪模拟

雷达测速仪模拟

Radar Speed Gun Simulation

Problem Description

Simulate a traffic-police radar speed gun. Input the car's speed (in mph, miles per hour); if the speed exceeds 6060 mph, display "Speeding", otherwise display "OK". The final result must be printed in the specified format.

Input Format

The input gives 11 non-negative integer not exceeding 500500 on one line: the speed measured by the radar.

Output Format

Output on one line the result shown by the speed gun, in the format: Speed: V - S, where VV is the speed and SS is either Speeding or OK.

Sample Input 1

45

Sample Output 1

Speed: 45 - OK

Sample Input 2

75

Sample Output 2

Speed: 75 - Speeding

Constraints

0≤V≤5000 \le V \le 500, and VV is an integer.

Hint

  • One condition and one formatted string. Match Speed: 45 - OK character by character against the sample for the spaces and the dash.
  • Check against the sample: 75 → Speed: 75 - Speeding.