Search found 5 matches

by mubashwir
Thu Jun 14, 2012 9:39 pm
Forum: Volume 122 (12200-12299)
Topic: 12282 - OmniGravity
Replies: 5
Views: 2195

Re: 12282 - OmniGravity

you can try this... this may help you....

Code: Select all

1
.#..AA..
.##.AA#.
..#.#.#.
.CCBB..#
.CCBB#..
##...#.#
#.DD..#.
.#DD....
your ans is :

Code: Select all

Case 1: 13
my ans is :

Code: Select all

Case 1: 12
by mubashwir
Thu Jun 14, 2012 9:31 pm
Forum: Volume 122 (12200-12299)
Topic: 12282 - OmniGravity
Replies: 5
Views: 2195

Re: 12282 - OmniGravity

Though its not a good case but still it proves your code wrong....check it out.......:p
  • 1
    .#..AA..
    .##.AA#.
    ........
    .CCBB...
    .CCBB#..
    #.......
    ..DD....
    ..DD....
your output
  • Case 1: 2315
ans is :
  • Case 1: 2314
by mubashwir
Thu Feb 03, 2011 2:22 pm
Forum: Volume 119 (11900-11999)
Topic: 11904 - One Unit Machine
Replies: 3
Views: 3196

Re: 11904 one unit machine

@ : crip121

let, there are 4 jobs


Job no. number of unit
J1 3
J2 4
J3 5
J4 4

If you find the total number of ways for each Job. Then you can easily find the Total number of Ways for all jobs by multiplying the number of ways of each job.

Now,
i) We need to complete J1 first, So keep one Unit ...
by mubashwir
Thu Jul 29, 2010 7:43 pm
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25432

Re: 10307 - Killing Aliens in Borg Maze

When my concept was clear about the problem i understood that it is not a hard problem but the code would be large enough. Then start coding and after finishing code I found lots of Bugs. After fixing those bugs I got Accepted in 1st submission (0.064 sec). :lol: :lol: :lol: :lol:
by mubashwir
Wed Jul 28, 2010 9:53 pm
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25432

Re: 10307 - Killing Aliens in Borg Maze

I understood that in this problem I have to run BFS from all alien and generate a new graph....then using MST I can come up with the ANSWER. But in this method there is a problem arise nd I don't understand how can i fix it.

i described the problem with this pic bellow:

http://www.maam.99k.org ...

Go to advanced search