Search found 98 matches

by Mukit Chowdhury
Mon Sep 16, 2013 7:21 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 13876

Re: 11624 - Fire!

shuvokr wrote:Input:
2
1 5
FFJFF
2 5
FFJFF
FFFFF

Ac output:
1
1

Your code's output:
IMPOSSIBLE
IMPOSSIBLE
How funny !!! my code prints 1 for both case in my compiler !!!
by Mukit Chowdhury
Mon Sep 16, 2013 7:01 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 13876

Re: 11624 - Fire!

shuvokr wrote:Sample Input:
1
1 1
J

Your code's output:
IMPOSSIBLE
Is it right ? :D

Ac output:
1
But my compiler prints 1 for your input... I use microsoft visual c++ 6.0
by Mukit Chowdhury
Sun Sep 15, 2013 10:58 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 13876

Re: 11624 - Fire!

Found my error... :)
by Mukit Chowdhury
Sun Sep 15, 2013 9:46 pm
Forum: Volume 113 (11300-11399)
Topic: 11352 - Crazy King
Replies: 32
Views: 11665

Re:

The problem statement said that a horse can move atmost 1 movement so you shouldn't mark the squares that horse can reach with 'Z' if you do it then horse can move more than 1 movement so you must mark reachable squares by horse with another character and be careful about squares that there exist a...
by Mukit Chowdhury
Sat Sep 14, 2013 5:40 am
Forum: Volume 106 (10600-10699)
Topic: 10610 - Gopher and Hawks
Replies: 29
Views: 12433

Re: 10610 - Gopher and Hawks

Accepted ... :D
by Mukit Chowdhury
Fri Sep 13, 2013 1:53 pm
Forum: Volume 100 (10000-10099)
Topic: 10067 - Playing with Wheels
Replies: 62
Views: 23124

Re: 10067 - Playing with Wheels

I missed this case... when source & destination is same & no forbidden configuration is as like as source or destination ... :(
1
1 1 1 1
1 1 1 1
1
1 2 2 2
by Mukit Chowdhury
Fri Sep 13, 2013 10:37 am
Forum: Volume 100 (10000-10099)
Topic: 10067 - Playing with Wheels
Replies: 62
Views: 23124

Re: 10067 - Playing with Wheels

Accepted ... :D
by Mukit Chowdhury
Fri Jun 14, 2013 7:02 am
Forum: Volume 117 (11700-11799)
Topic: 11729 - Commando War
Replies: 13
Views: 3360

Re: 11729 - Commando War

I am extremely sorry... :(
It should be checked by me... :x
Thanks...
by Mukit Chowdhury
Thu Jun 13, 2013 4:36 pm
Forum: Volume 117 (11700-11799)
Topic: 11729 - Commando War
Replies: 13
Views: 3360

Re: 11729 - Commando War

Got WA !!! Help please... :(

Code: Select all

Accepted...
by Mukit Chowdhury
Wed Mar 13, 2013 5:50 pm
Forum: Volume 117 (11700-11799)
Topic: 11790 - Murcia's Skyline
Replies: 28
Views: 13748

Re: 11790 - Murcia's Skyline

In this problem array of 1500 elements is enough... no need to check negative number ... My algo is of O(n*n) and Accepted in 0.068 second... :)
by Mukit Chowdhury
Wed Mar 13, 2013 5:23 pm
Forum: Volume 114 (11400-11499)
Topic: 11456 - Trainsorting
Replies: 20
Views: 10121

Re: 11456 - Trainsort

LIS ARRAY [0]=3; && LDS ARRAY[0]=2.how it possible????? CAN any expain it................ Here LIS[1] means how much integers you can take in increasing order taking the value of a[1] LIS[2] means how much integers you can take in increasing order taking the value of a[2] .............................
by Mukit Chowdhury
Fri Feb 08, 2013 12:01 pm
Forum: Volume 106 (10600-10699)
Topic: 10653 - Bombs! NO they are Mines!!
Replies: 36
Views: 17493

Re: 10653 - Bombs! NO they are Mines!!

Accepted ....
by Mukit Chowdhury
Fri Feb 08, 2013 8:45 am
Forum: Volume 4 (400-499)
Topic: 429 - Word Transformation
Replies: 82
Views: 15932

Re: 429 Word Transformation

The pair of words of the second section of the given input will always be of same length... :x
It pains me a lot ... I thought it can be of different length after seeing a post ... Why this type of confusing post is allowed ... :x
by Mukit Chowdhury
Thu Feb 07, 2013 12:26 pm
Forum: Volume 103 (10300-10399)
Topic: 10369 - Arctic Network
Replies: 45
Views: 23535

Re: 10369 - Arctic Network

for input given above :

Code: Select all

1
3 6
0 1
0 2
0 4
0 5
0 7
0 8
output must be 1...
by Mukit Chowdhury
Wed Feb 06, 2013 7:33 pm
Forum: Volume 7 (700-799)
Topic: 725 - Division
Replies: 49
Views: 18730

Re: 725 - Division

Have done with the help of backtracking ... :)
A very nice problem ... :)

Go to advanced search