Set 100Question 24

Mim's Threshold Check

Very easyWritten in CMust finish in 2 seconds

Mim is filtering entries at a transport authority: 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

235 842

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.

Mim's Threshold Check · DIU ContestHub