Ok... this is a last attempt! I'll replace the blanks with X.
Input:
9999999999 9999999999
0 100
200 200
202 202
0
Output:
XXXXXXXXXX9999999999
XXXXXXXXXX9999999999
XXXXXXXXXXXX----------
XXXXXXXXX89999999991
XXXXXXXX89999999991
XXXXXXX89999999991
XXXXXX89999999991
XXXXX89999999991 ...
Search found 3 matches
- Sun Nov 03, 2002 9:03 pm
- Forum: Volume 3 (300-399)
- Topic: 338 - Long Multiplication
- Replies: 59
- Views: 15579
- Sun Nov 03, 2002 8:57 pm
- Forum: Volume 3 (300-399)
- Topic: 338 - Long Multiplication
- Replies: 59
- Views: 15579
Excellent!
It seems that this forum erases the blanks in the beginning of the line, meaning that the output format is completely wrong. I'll try again, this time I'll put a character in the beginning of each line, praying that repeating blanks is ok in the middle of a sentence! I'm sorry about the mess ...
- Sun Nov 03, 2002 8:51 pm
- Forum: Volume 3 (300-399)
- Topic: 338 - Long Multiplication
- Replies: 59
- Views: 15579
338 - Long Multiplication
I am always getting wrong answer on this one. I wonder if anyone can give me tips on correct input-output. I will give some examples of output generated from certain input by my "non-working" solution. If, on one hand, anyone spots errors in the output, or, on the other hand, anyone has in mind some ...