10759 - Dice Throwing

All about problems in Volume 107. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Darko
Guru
Posts: 580
Joined: Fri Nov 11, 2005 9:34 am
Location: Calgary, Canada

10759 - Dice Throwing

Post by Darko »

Can someone check this I/O, please?

In:

Code: Select all

1 0
1 1
1 2
1 6
1 7
2 2
2 3
2 11
2 12
24 23
24 24
24 25
24 84
24 142
24 141
24 143
24 144
24 145
10 32
12 54
21 100
18 100
13 17
13 51
6 18
6 30
0 0
Out:

Code: Select all

0
1
5/6
1/6
0
1
35/36
1/12
1/36
0
1
4738381338321616895/4738381338321616896
413568681837579181/789730223053602816
325/4738381338321616896
325/526486815369068544
25/4738381338321616896
1/4738381338321616896
0
44678921/60466176
55268357/2176782336
820170704573/2437438960041984
1558855/101559956668416
816293341/816293376
343507595/1632586752
9263/11664
17/864
mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Post by mf »

My AC's output:

Code: Select all

1
1
5/6
1/6
0
1
35/36
1/12
1/36
1
1
4738381338321616895/4738381338321616896
413568681837579181/789730223053602816
325/4738381338321616896
325/526486815369068544
25/4738381338321616896
1/4738381338321616896
0
44678921/60466176
55268357/2176782336
820170704573/2437438960041984
1558855/101559956668416
816293341/816293376
343507595/1632586752
9263/11664
17/864
Darko
Guru
Posts: 580
Joined: Fri Nov 11, 2005 9:34 am
Location: Calgary, Canada

Post by Darko »

Thanks a lot, mf :)

I don't know why I thought that n > x would give 0 :oops:

Darko
Post Reply

Return to “Volume 107 (10700-10799)”