Search found 21 matches

by boshkash1986
Thu Feb 22, 2007 1:01 pm
Forum: Volume 111 (11100-11199)
Topic: 11129 - An antiarithmetic permutation
Replies: 21
Views: 21487

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 ...
by boshkash1986
Wed Sep 06, 2006 9:02 pm
Forum: Volume 109 (10900-10999)
Topic: 10968 - KuPellaKeS
Replies: 8
Views: 5404

Please i can not understand when should i output 0 and when should I output "Poor Koorosh"
by boshkash1986
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 ...
by boshkash1986
Tue Jul 18, 2006 12:40 pm
Forum: Volume 4 (400-499)
Topic: 426 - Fifth Bank of Swamp County
Replies: 14
Views: 3862

Please can anyone help me ???
by boshkash1986
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 ...
by boshkash1986
Thu Mar 09, 2006 10:54 am
Forum: Volume 110 (11000-11099)
Topic: 11001 - Necklace
Replies: 38
Views: 23011

so please can anyone explain to me how the second sample input gives a zero at the output ?


Thanks alot
by boshkash1986
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
by boshkash1986
Fri Feb 10, 2006 3:07 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65018

ok can anyone send me his sample input and outpt for diff numbers for different sizes


thanks
by boshkash1986
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 ...
by boshkash1986
Wed Feb 01, 2006 12:21 pm
Forum: Volume 105 (10500-10599)
Topic: 10533 - Digit Primes
Replies: 108
Views: 47504

i am not clear about a certain input which is

3 20
as your output is 4 while mine is 3 and when i traced it i found that it is three
from 3 to 20 inclusive (i.e. ignoring the limits) here are the prime numbers and digits

5,7,11
only which ae three only
i am consfused can you help me
by boshkash1986
Mon Jan 30, 2006 12:04 pm
Forum: Volume 107 (10700-10799)
Topic: 10793 - The Orc Attack
Replies: 35
Views: 24859

i know and that what confuses i tried alot of different cases but still i get WA


Please can you providde me with some test cases ?
Thanks
by boshkash1986
Sat Jan 28, 2006 10:30 pm
Forum: Volume 107 (10700-10799)
Topic: 10793 - The Orc Attack
Replies: 35
Views: 24859

Please can anyone help me please
by boshkash1986
Thu Jan 26, 2006 8:40 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 71429

i have sent to you the whole source code via PM

Waiting for your reply
by boshkash1986
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 ...
by boshkash1986
Thu Jan 26, 2006 3:29 pm
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 71429

here is my input and oupt code :



void main()
{

string num;

Fact(1001);

Table[0].resize(1);
Table[0].at(0) = char(49);
int n;
while (cin >>n)
{

cout << n<<"!" <<endl;
cout << Table[n] <<endl;

}


}


In my program i made a function which creates up to the factorial of 1001 and ...

Go to advanced search