598 - CS135501_I2P2014_LAB_1 Scoreboard

Time

2014/09/22 16:10:00 2014/09/22 17:15:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
10015 Monkey

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:

#include 
int 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.

Sample Input  Download

Sample Output  Download

Tags




Discuss