Guest
Login
跳过导航链接

A+B=C
Time Limit:1000MS  Memory Limit:32768K

Description:

Input c,Output a and b in that rules: 1)a + b = c,2) b>=a && b-a is minimum.

Input:

Each line is a signed 32bit integer c.

Output:

Output just one pair of signed 32bit integers a and b.

Sample Input:

17
10

Sample Output:

8 9
5 5

Source:

moonlight
Submit Your Solution


Zhe Jiang University Of Technology Online Programming Space Beta1.3
Designed & Developped By Jin Qiwei
Refactored By cb@zjut.edu.cn , QQ Group: 723311416  All Copyright Reserved 2006-
26