my output for ur input
- Code: Select all
22.506
64.587
3.715
12022.696
6511.038
8914.445
68.407
96.418
167.925
24725.716
338.349
6078.695
4.988
1.964
2038.864
GOOD LUCK
Rocky
Moderator: Board moderators
22.506
64.587
3.715
12022.696
6511.038
8914.445
68.407
96.418
167.925
24725.716
338.349
6078.695
4.988
1.964
2038.864

Wei-Ming Chen wrote:thanks.. but my outputs are same as yours..
I tried some other inputs, can someone check my outputs for me?
input
- Code: Select all
8 7
4 52
1 47
69 54
47 52
32 78
4 55
77 4
5 86
100 54
7 89
55 43
1 63
25 1
44 23
0 0
30 35
30 36
30 37
30 38
30 39
30 40
30 41
30 42
30 43
30 44
30 45
30 46
30 47
30 48
30 49
30 50
30 51
30 52
30 53
30 54
30 55
30 56
30 57
30 58
30 59
30 60
30 61
30 62
30 63
30 64
30 65
30 66
30 67
30 68
30 69
30 70
30 71
30 72
30 73
30 74
30 75
30 76
30 77
30 78
30 79
30 80
0 01822.772
1894.392
1966.012
2037.632
2109.251
2197.841
2309.107
2423.120
2539.881
2659.388
2781.643
2906.645
3034.395
3164.892
3298.136
3434.127
3572.866
3714.352
3858.585
4005.566
4155.294
4307.769
4462.992
4620.962
4781.679
4945.143
5111.355
5280.314
5452.020
5626.474
5803.675
5983.623
6166.319
6351.762
6539.952
6730.889
6924.574
7121.006
7320.186
7522.112
7726.786
7934.208
8144.376
8357.292
8572.955
8791.36630 35
30 36
30 37
30 38
30 39
30 40
30 41
30 42
30 43
30 44
30 45
30 46
30 47
30 48
30 49
30 50
30 51
30 52
30 53
30 54
30 55
30 56
30 57
30 58
30 59
30 60
30 61
30 62
30 63
30 64
30 65
30 66
30 67
30 68
30 69
30 70
30 71
30 72
30 73
30 74
30 75
30 76
30 77
30 78
30 79
30 80
0 0
1822.772
1894.392
1966.012
2037.632
2109.251
2197.841
2309.107
2423.120
2539.881
2659.388
2781.643
2906.645
3034.395
3164.892
3298.136
3434.127
3572.866
3714.352
3858.585
4005.566
4155.294
4307.769
4462.992
4620.962
4781.679
4945.143
5111.355
5280.314
5452.020
5626.474
5803.675
5983.623
6166.319
6351.762
6539.952
6730.889
6924.574
7121.006
7320.186
7522.112
7726.786
7934.208
8144.376
8357.292
8572.955
8791.366
// removed after Acc


Carunty wrote:I am suffer from precision error in this problem.
Can anyone help me?
For this problem I didn't care for any precision error at all.
Check your code again, may be you are doing some other mistakes.
Users browsing this forum: No registered users and 0 guests