All Tracks Math Number Theory Basic Number Theory-1 Problem

Find Me!
/
No tags
Problem
Editorial
Analytics

Three integers are given in the input- N, A, B. Find an integer C such that N = A + B + C.

SAMPLE INPUT
10 5 3
SAMPLE OUTPUT
2
Explanation

For N = 10, A = 5, B = 3

C = 2.

This satisfie condition that N = A+B+C.

Time Limit: 1.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB

Best Submission

Similar Problems

Contributors

Initializing Code Editor...
Notifications
View All Notifications

?