|
|
some trick? ok...Im AC now...if u wa , u can try this data (13681872) (95650177) ans=(50093320)49 (000010000) (000010002) ----------- (000020002) What does this test look like? Probably like this: (49937) (92484) ----------- (24242)1 (0)+(0)=(0) or 0? There is always period, so the answer is (0) Edited by author 22.09.2007 19:17 And that happens to be test 34. I had CRASH there as I've put a trap on such case before submission. Lucky me :) Eventually, removing that trap gave me AC. So just treat 0 like any other digit, do not care about leading zeroes. Can be such answer 1(065)064? and what answer for (123) (911) ? (035) But why not (035)034? Edited by author 22.09.2007 14:22 I think it should be (503)4, but i'm not sure, i want to know the answer too (123) + (911) 1034 but on 1034 ++++++++++1034 +++++++++++++1034 > ++++++++03503503 ++++++++++(035) Is it right ? Edited by author 22.09.2007 14:47 (123) + (911) ++++035035035035034 Answer (503)4 I have 1(035)034. may I misunderstood the task. 1 034 1 035 034 1 035 035 034 1 035 035 035 034 so, why not that? 1(035)034 or (035)034 or (350)34? Edited by author 22.09.2007 15:44 The output must have one line containing desired number itself. It must be printed in the representation with minimal period length. Among such representations the one having the least unperiodical part's length must be chosen. my AC program give answer (503)4. How do you get that 1034 or 1035? This 1 is CARRY, but it does not go to result, it's only used during its evaluation. I read this task 13 again... But I don't understand one thing: for example, we have a number ...9898989898989898. This number can be written (98), (89)8 and (98)98. Also (9898) is the same number. As I understand, we can use only (98) in output, but what's about input data? Numbers such (9898) and (999) can not be there, i hope. What do you think about it? For my AC solution it does not matter check numbers with leading zeroes. It helped me on test 37 Who could just give me some tricky test? (1) (9) ---- (1)0 this test passed, but still WA. Edited by author 22.09.2007 21:25 (999999999) (123456789) ----------- (912345678)8 (98765) (12345) ------- (1)0 : (999999999) (000000001) ----------- (100000000)0 (999999999) (999999999) ----------- (9)8 And final hit: (544444444) (555555555) ----------- (100000000)099999999 If your program passes these tests successfully - then you're a unique person :))) they work:) wa on test 6:) Maybe you don't cut off same parts (this task has many cases)???? Edited by author 31.10.2007 02:44 What is the 2nd test? Does anybody know????? I also get WA on test 2 (00)+(99) (555)+(555) (555)+(544) I've also got WA2. But I was sure that 0.d = d/9 0.dd = dd/99 0.ddd = ddd/999 et al. Isn't it the lot of things to know? With this tests work, you get AC ;) (999999999) (000000001) ----------- (100000000)0 (999999999) (999999999) ----------- (9)8 And final hit: (544444444) (555555555) ----------- (100000000)099999999 please, help wa on test 9 i also have wa9 :( Edited by author 09.10.2007 00:20 Edited by author 09.10.2007 00:20 Can there be such answer: (9)8 ? For the inputs such as (99...9) (99...9) You should always output: (9)8 |
|
|