Guest
Login
跳过导航链接

逆反的01串
Time Limit:1000MS  Memory Limit:32768K

Description:

Fans是个ACM程序设计迷。但有时侯,他表现出很强烈的逆反心理:你往东,他往西;你往南,他偏往北。这一次,不知道又是谁惹着他了,好端端的一个个01串,到了他的手里,都变成10串了。请你编个程序来模仿他的行为,将01串(长度≤200),全变成10串吧。

Sample Input:

0110100100100
1000000010000000000

Sample Output:

1001011011011
0111111101111111111

Source:

Qian Neng
Status  Submit


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-
611