Search found 106 matches

by sapnil
Sun Oct 07, 2007 6:45 pm
Forum: Volume 110 (11000-11099)
Topic: 11057 - Exact Sum
Replies: 50
Views: 21119

To afzal_du

You may miss this line

Code: Select all

if there are multiple solutions print the solution that minimizes the difference between the prices i and j.
Thanks
Keep posting
sapnil
SUST
by sapnil
Sun Oct 07, 2007 6:38 pm
Forum: Volume 110 (11000-11099)
Topic: 11096 - Nails
Replies: 28
Views: 14361

Try This Case

Code: Select all

Input:
1000000
999999
99999
9999
999
9
1
0
2
3

Output:
1024000
1222221
299997
29997
2997
27
Not Exist!
Not Exist!
4
9
Thanks
Keep posting
Sapnil
SUST
by sapnil
Sun Oct 07, 2007 6:23 pm
Forum: Volume 113 (11300-11399)
Topic: 11309 - Counting Chaos
Replies: 18
Views: 6800

To srrajesh For your input my acc code return: 00:02 00:03 00:04 00:05 00:06 00:07 00:08 00:09 00:11 00:11 00:22 00:22 00:22 00:22 00:22 00:22 00:22 00:22 00:22 00:22 00:22 00:33 00:33 00:33 00:33 00:33 00:33 00:33 00:33 00:33 00:33 00:33 00:44 00:44 00:44 00:44 00:44 00:44 00:44 00:44 00:44 00:44 0...
by sapnil
Sun Oct 07, 2007 5:15 pm
Forum: Volume 113 (11300-11399)
Topic: 11308 - Bankrupt Baker
Replies: 17
Views: 7442

11308 - Bankrupt Baker

/* 11308 */

I get wrong answer,can any one tell me whats wrong in my code:

Code: Select all


//Removed

Thanks
Keep posting
Sapnil
by sapnil
Tue Oct 02, 2007 4:25 pm
Forum: Volume 101 (10100-10199)
Topic: 10196 - Check The Check
Replies: 77
Views: 23605

I get wrong answer as lik you.
Finally i recode & get Acc.

The code is too long,so is hard to
find bugs.

Thanks
Keep posting
Sapnil
by sapnil
Tue Oct 02, 2007 12:23 pm
Forum: Volume 112 (11200-11299)
Topic: 11286 - Conformity
Replies: 19
Views: 8830

Use stracture with array and then sort the array in dictionary order,then
search.
This is needed for solving this problem.

Thanks
Keep posting
Sapnil
by sapnil
Mon Oct 01, 2007 6:03 am
Forum: Volume 112 (11200-11299)
Topic: 11296 - Counting Solutions to an Integral Equation
Replies: 11
Views: 5847

Input:

1000
25
16
15
64
35
12

Output of my acc code:

125751
91
45
36
561
171
28

thanks
keep posting
sapnil cse sust.
by sapnil
Sat Sep 29, 2007 6:48 pm
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

To sclo

I used here DFS for Genearate all paths(source to destination).
Then i search my solution,which is really time consuming.

** Now i am trying using BFS.

Thanks
keep posting
Sapnil
CSE SUST.
by sapnil
Sat Sep 29, 2007 5:45 am
Forum: Volume 100 (10000-10099)
Topic: 10054 - The Necklace
Replies: 62
Views: 31205

I get too many WR,more than 15 times.whats wrong help me.........

Code: Select all

Remove after Acc
Thanks
Keep posting
Sapnil
by sapnil
Fri Sep 28, 2007 12:19 pm
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

Thank u shakil,

I think my process was not enough for pass the time limit.
Now i am thinking in dfferent process.


Thanks
Keep posting

Sapnil


http://acm.uva.es/problemset/usersnew.php?user=22910
by sapnil
Thu Sep 27, 2007 3:49 am
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

plz.......................................
Tell me why i ge rutime error.
plz......................

Thanks
keep posting

Sapnil
by sapnil
Fri Sep 21, 2007 11:31 am
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

Again I get runtime error plz tell me why.................

//Delete

Thanks to all genious helpers

Keep posting

Sapnil

[Edited by Jan] : Use code tags.
by sapnil
Fri Sep 21, 2007 6:31 am
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

sapnil wrote:I get too many runtime error.plz help me................

Removed.................

Thanks
Keep posting;
by sapnil
Thu Sep 20, 2007 5:24 pm
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

I get too many runtime error.plz help me................


deleted......................

Thanks
Keep posting;
by sapnil
Mon Sep 17, 2007 7:32 pm
Forum: Volume 112 (11200-11299)
Topic: 11280 - Flying to Fredericton
Replies: 43
Views: 16550

How you think that this is bellman-ford....

Thanks
Keep posting.

Sapnil

Go to advanced search