| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 10015 | Monkey |
|
Description
Apple, HTC and Samsung are three good friends.
All of them have some money.
1. Apple and HTC have X dollors.
2. HTC and Samsung have Y dollors.
3. Apple and Samsung have Z dollors.
How many dollars does each of them have?
Hint:
#includeint main() { int x, y, z; /* input */ int a, b, c; /* how many dollors in order Apple, HTC, Samsung */ scanf("%d %d %d", &x, &y, &z); /* Do something */ printf("%d %d %d\n", a, b, c); return 0; }
Input
Three positive even integers, X, Y and Z.
Output
Three positive even integers.
How many dollars in order Apple, HTC and Samsung.