Search found 22 matches
- Tue Mar 08, 2005 3:47 pm
- Forum: Volume 5 (500-599)
- Topic: 529 - Addition Chains
- Replies: 32
- Views: 7208
529 - How can I reduce the search time
Hello: I tried to solve this problem in IDS but but my IDS solution is poor. It takes a lot of time to generate the answers for 1 to 10000 numbers. I tried my best to find out a process for reducing the search space, but I failed. Could anyone tell me, how can I reduce the search space in IDS? Or is...
- Tue Mar 08, 2005 1:33 pm
- Forum: Other words
- Topic: How can I get a nice avatar ?
- Replies: 1
- Views: 1321
How can I get a nice avatar ?
Could anyone tell me how can I get a nice avatar?
[/b]
- Tue Mar 08, 2005 1:29 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10822 - Planet of the Rock, Paper and Scissors
- Replies: 10
- Views: 7412
Not Specified
Hello:
I got wrong answer in this problem. Could anyone give me some strong
sample inputs so that I can test and can recognize my fault.
Thanks.
![:oops:](./images/smilies/icon_redface.gif)
I got wrong answer in this problem. Could anyone give me some strong
sample inputs so that I can test and can recognize my fault.
Thanks.
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
- Tue Mar 08, 2005 11:12 am
- Forum: Volume 108 (10800-10899)
- Topic: 10827 - Maximum sum on a torus
- Replies: 52
- Views: 33986
Not Specified
Hello:
I also got accepted with O(n^4) complexity.
Although my solution could not pass the time limit of 1 sec in online contest,but I got accepted in this problem in offline with time(6.670 sec) .
![:lol:](./images/smilies/icon_lol.gif)
I also got accepted with O(n^4) complexity.
Although my solution could not pass the time limit of 1 sec in online contest,but I got accepted in this problem in offline with time(6.670 sec) .
![:lol:](./images/smilies/icon_lol.gif)
![:lol:](./images/smilies/icon_lol.gif)
![:lol:](./images/smilies/icon_lol.gif)
![:lol:](./images/smilies/icon_lol.gif)
![:lol:](./images/smilies/icon_lol.gif)
- Tue Mar 08, 2005 11:00 am
- Forum: Volume 108 (10800-10899)
- Topic: 10822 - Planet of the Rock, Paper and Scissors
- Replies: 10
- Views: 7412
10822 - Planet of the Rock, Paper and Scissors
Hello:
I am confused about the output structure of this problem.
Could anyone tell me what is the correct format of output.
How many blank lines are required between two output sets?
Bye
I am confused about the output structure of this problem.
Could anyone tell me what is the correct format of output.
How many blank lines are required between two output sets?
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
![:oops:](./images/smilies/icon_redface.gif)
Bye
- Sat Jan 01, 2005 11:33 am
- Forum: Other words
- Topic: About ICPC and NCPC contest certificate(Only for Bangladesh)
- Replies: 7
- Views: 3773
Not specified
I support that.
- Sat Aug 21, 2004 2:35 pm
- Forum: Volume 7 (700-799)
- Topic: 753 - A Plug for UNIX
- Replies: 20
- Views: 14541
not specified
Sample input:
4
4
c
c
c
c
4
lap1 a
lap2 b
lap3 a
lap4 x
4
x c
b x
a b
y x
5
d
c
d
c
c
5
lap1 a
lap2 a
lap3 b
lap4 b
lap5 b
5
x c
b x
a b
y x
x d
3
p
q
r
3
lap1 p
lap2 p
lap3 p
2
p q
p r
3
c
c
c
3
lap1 a
lap2 b
lap3 b
3
a c
b a
a b
Sample Output:
0
0
0
0
4
4
c
c
c
c
4
lap1 a
lap2 b
lap3 a
lap4 x
4
x c
b x
a b
y x
5
d
c
d
c
c
5
lap1 a
lap2 a
lap3 b
lap4 b
lap5 b
5
x c
b x
a b
y x
x d
3
p
q
r
3
lap1 p
lap2 p
lap3 p
2
p q
p r
3
c
c
c
3
lap1 a
lap2 b
lap3 b
3
a c
b a
a b
Sample Output:
0
0
0
0
- Sun Mar 07, 2004 2:10 pm
- Forum: Volume 5 (500-599)
- Topic: 551 - Nesting a Bunch of Brackets
- Replies: 56
- Views: 18348
Not specified
Hi:
Sohel is correct.
Here, '(*' has to be considered as different characters
as '(*' is not completed and they are the last two characters in
that sequence.
((**)()a+b)[(a){a+n}](*
Sohel is correct.
Here, '(*' has to be considered as different characters
as '(*' is not completed and they are the last two characters in
that sequence.
((**)()a+b)[(a){a+n}](*
- Wed Mar 03, 2004 1:21 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10344 - 23 out of 5
- Replies: 81
- Views: 36739
Not specified
Hello Everybody: This is very sad that there is a mistake in the problem description of of the problem number 10344(23 out of 5). They said that there is no such an input data that contain 0. That is, the input will be from 1 to 50. But i found 0 in the input set. This mistake spent my huge times a...
- Mon Mar 01, 2004 2:41 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10622 - Perfect P-th Powers
- Replies: 47
- Views: 29313
Not specified
Hello everybody:
Although, i didn't get any good help, but i got accepted after getting a huge amount of wrong answers (
).
Although, i didn't get any good help, but i got accepted after getting a huge amount of wrong answers (
![:evil:](./images/smilies/icon_evil.gif)
![:P](./images/smilies/icon_razz.gif)
- Sun Feb 15, 2004 9:57 pm
- Forum: Volume 4 (400-499)
- Topic: 450 - Little Black Book
- Replies: 57
- Views: 11095
Not Specified
![:oops:](./images/smilies/icon_redface.gif)
![:(](./images/smilies/icon_frown.gif)
Hello Everybody,
What will be the highest size for the every input line and what will
be the highest number for the total persons.
Please tell me.I am in confusions.
![:(](./images/smilies/icon_frown.gif)
![:(](./images/smilies/icon_frown.gif)
- Sun Feb 15, 2004 8:30 pm
- Forum: Volume 4 (400-499)
- Topic: 496 - Simply Subsets
- Replies: 48
- Views: 13897
Not Specified
Hello eXon : I checked your inputs with my accepted program and did not find any mistake. But, May be, there is no such input that contain blank lines . Because, I got accepted without considering this. 1 2 3 1 3 3 - A equals B This answer is wrong. This answer will be- B is a proper subset of A.
- Sat Feb 14, 2004 6:40 pm
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 48663
Not specified
You have to be more carefull about every things.This is a multiple input (blue tick) problem.So, you have to process inputs in this way. For your convenience in understanding this problem I gave some sample inputs and outputs. Inputs: 2 4 1 5 2 3 -.000045 -0.00045 .456 .056987 25.26589456987 1 3 5 6...
- Sat Feb 14, 2004 6:26 pm
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 48663
Not specified
I took 50010 for the size of the array for the first line . And the highest value for the first line of the input would be 1000.
I got accepted by using these size.
I got accepted by using these size.
- Tue Feb 10, 2004 7:09 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10622 - Perfect P-th Powers
- Replies: 47
- Views: 29313
Frustrations---Wanting some helps
What's wrong with my code, I can’t understand. My program produced correct answers of all inputs that I had found. But, Every time get shock when I submit my code. What’s wrong. Has any critical case that I have missed. In the problem statement, The value of x will have magnitude at least 2 and be w...