thanks to sclo explanation of the problem I got AC and here is my explanation of sclo code with example if it could help
n = 10
first recursive call with seperation of even and odd to left and right
2 4 6 8 0 1 3 5 7 9
divide each even by 2 and each odd by ((odd-1)/2)
1 2 3 4 0 0 1 2 3 4
second ...
Search found 21 matches
- Thu Feb 22, 2007 1:01 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11129 - An antiarithmetic permutation
- Replies: 21
- Views: 21487
- Wed Sep 06, 2006 9:02 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10968 - KuPellaKeS
- Replies: 8
- Views: 5404
- Sun Sep 03, 2006 9:32 pm
- Forum: Volume 4 (400-499)
- Topic: 413 - Up and Down Sequences
- Replies: 22
- Views: 9712
7 6 6 6 6 7 3 2 1 2 0
7 6 6 6 6 7 3 2 1 2 0
concernig this input my accepted program gives me a different answer than yours . (it really confused me)
my output
Nr values = 10: 1.000000 3.500000
we disagree in the down ration you say it is 7 and i say it is 3.50
7->6 (count down)
6->6 (count down)
6->6 ...
concernig this input my accepted program gives me a different answer than yours . (it really confused me)
my output
Nr values = 10: 1.000000 3.500000
we disagree in the down ration you say it is 7 and i say it is 3.50
7->6 (count down)
6->6 (count down)
6->6 ...
- Tue Jul 18, 2006 12:40 pm
- Forum: Volume 4 (400-499)
- Topic: 426 - Fifth Bank of Swamp County
- Replies: 14
- Views: 3862
- Mon Jul 17, 2006 11:11 pm
- Forum: Volume 4 (400-499)
- Topic: 426 - Fifth Bank of Swamp County
- Replies: 14
- Views: 3862
426 - Fifth Bank of Swamp County
Please can anyone give me the correct ouput for this :
5
93/10/15 1001 116.81
93/10/27 1000 840.85
93/10/26 1002 555.55
93/10/26 1003 555.55
93/10/15 1001
93/10/27 1000 9999999.99
93/10/26 1002 555.555
93/10/01 998 .65
93/10/01 999 0123.89
93/10/05 996 29.99
93/10/06 993 116.52
93/10 ...
5
93/10/15 1001 116.81
93/10/27 1000 840.85
93/10/26 1002 555.55
93/10/26 1003 555.55
93/10/15 1001
93/10/27 1000 9999999.99
93/10/26 1002 555.555
93/10/01 998 .65
93/10/01 999 0123.89
93/10/05 996 29.99
93/10/06 993 116.52
93/10 ...
- Thu Mar 09, 2006 10:54 am
- Forum: Volume 110 (11000-11099)
- Topic: 11001 - Necklace
- Replies: 38
- Views: 23011
- Wed Mar 08, 2006 1:06 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11001 - Necklace
- Replies: 38
- Views: 23011
11001 - Necklace
What does unique mean in this problem
- Fri Feb 10, 2006 3:07 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65018
- Thu Feb 09, 2006 11:30 pm
- Forum: Volume 7 (700-799)
- Topic: 706 - LCD Display
- Replies: 221
- Views: 65018
706 LCD Display WA + My Samples
here are my I/O for diff cases Please can anyone help me to detect what is wrong ...
- Wed Feb 01, 2006 12:21 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10533 - Digit Primes
- Replies: 108
- Views: 47504
- Mon Jan 30, 2006 12:04 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10793 - The Orc Attack
- Replies: 35
- Views: 24859
- Sat Jan 28, 2006 10:30 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10793 - The Orc Attack
- Replies: 35
- Views: 24859
- Thu Jan 26, 2006 8:40 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 71429
- Thu Jan 26, 2006 8:13 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10793 - The Orc Attack
- Replies: 35
- Views: 24859
10793 The Orc Attack WA
Please can anyone send me some input and output samples
I tried everyting i could know can anyone help ?
i tried the case which was given in problem statment and here is the input and output
Input:
1
10 34
1 7 12
1 9 20
2 7 12
2 3 7
2 8 10
3 2 7
3 8 10
4 8 10
4 6 4
5 9 31
5 9 20
5 7 12
6 4 4 ...
I tried everyting i could know can anyone help ?
i tried the case which was given in problem statment and here is the input and output
Input:
1
10 34
1 7 12
1 9 20
2 7 12
2 3 7
2 8 10
3 2 7
3 8 10
4 8 10
4 6 4
5 9 31
5 9 20
5 7 12
6 4 4 ...
- Thu Jan 26, 2006 3:29 pm
- Forum: Volume 6 (600-699)
- Topic: 623 - 500!
- Replies: 187
- Views: 71429