Set 100Question 19

Rina's Threshold Check

Very easyWritten in CMust finish in 2 seconds

Rina is filtering entries at a robotics lab: given a value and a threshold T, print "PASS" if the value is ≥ T, else "FAIL".

What your program reads

Two integers value T.

What your program prints

"PASS" or "FAIL".

Limits

-10^6 ≤ value,T ≤ 10^6

Example input

651 855

Expected output

FAIL
main.c

Your work is saved in this browser as you type.

Loading editor…
Input for Run

Run tries your code on the input above and shows what it prints. Submit checks your output against every test, including hidden ones.

Shortcut: Ctrl + Enter sends it to the judge.

Rina's Threshold Check · DIU ContestHub