2009年3月24日 星期二

UVa 706 LCD Display


簡單的問題,但是有些機歪的狀況

摘自UVa forum by kckckc
1. Space or NewLine that have mentioned in previous Post.
2. Maybe the code will meet some problem in some input sets such as
input is X 0
3. I didn't handle the leading 0 situation,
that means if input is 00007, my out put is 7.


所以下面這是關鍵測資
10 99999999
3 00007
5 0
0 0