Set 103Question 17

Mim's Coverage Zone Check

Medium-hardWritten in CMust finish in 3 seconds

Mim is verifying delivery coverage at a school fair: given a circular service zone and a customer location, check if it's within range.

What your program reads

Five integers cx cy r px py.

What your program prints

"INSIDE" or "OUTSIDE".

Limits

-10^4 ≤ values ≤ 10^4

Example input

0 0 10 6 8

Expected output

INSIDE
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 Coverage Zone Check · DIU ContestHub