Set 100Question 1

Rafi's Threshold Check

Very easyWritten in CMust finish in 2 seconds

Rafi is filtering entries at a bank branch: 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

655 115

Expected output

PASS
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.

Rafi's Threshold Check · DIU ContestHub