Search found 98 matches

by Mukit Chowdhury
Wed Nov 01, 2017 7:11 pm
Forum: Volume 117 (11700-11799)
Topic: 11790 - Murcia's Skyline
Replies: 28
Views: 13720

Re: 11790 - Murcia's Skyline(TLE)

lighted wrote:
Sat Jul 22, 2017 8:43 pm
Number of buildings N is at most 1121.
So you did binary search on the size of array!!! :P
by Mukit Chowdhury
Wed Nov 01, 2017 7:07 pm
Forum: Volume 104 (10400-10499)
Topic: 10433 - Automorphic Numbers
Replies: 41
Views: 22664

Re: 10433 - Automorphic Numbers

I made this code AC using Java BigInteger class. I used pow() for getting square. Also used substring method. :)
by Mukit Chowdhury
Sun Jun 18, 2017 8:55 pm
Forum: Volume 119 (11900-11999)
Topic: 11902 - Dominator
Replies: 20
Views: 8850

Re: 11902 - Dominator

Getting TLE for this problem. :(

Code: Select all

Instead of using System.out.println() for each character I made a stringbuilder which holds full output of a case, 
then printed that stringbuilder with only one System.out.println(). That is how I got the magical word "Accepted"!!!
by Mukit Chowdhury
Thu Oct 27, 2016 11:45 am
Forum: Volume 5 (500-599)
Topic: 501 - Black Box
Replies: 35
Views: 15603

Re: 501 - Black Box

So this problem can't be solved using java Collection. :(
by Mukit Chowdhury
Wed Oct 05, 2016 9:33 am
Forum: Volume 101 (10100-10199)
Topic: 10132 - File Fragmentation
Replies: 24
Views: 10877

Re: 10132 - File Fragmentation

Accepted
by Mukit Chowdhury
Wed Dec 02, 2015 2:53 pm
Forum: Volume 112 (11200-11299)
Topic: 11283 - Playing Boggle
Replies: 19
Views: 7853

Re: 11283 - Playing Boggle

@shiam, if I don't get wrong, it happened, because, you mixed cout with scanf(). If time limit is strict, usually mixing cout and scanf() gives TLE.
by Mukit Chowdhury
Tue Dec 01, 2015 7:40 am
Forum: Volume 100 (10000-10099)
Topic: 10010 - Where's Waldorf?
Replies: 42
Views: 17152

Re: 10010 - Where's Waldorf?

Searched string will have to be found in a line. Totally missed this and got 5 WA. :(
by Mukit Chowdhury
Mon Nov 30, 2015 2:35 pm
Forum: Volume 118 (11800-11899)
Topic: 11888 - Abnormal 89's
Replies: 11
Views: 6008

Re: 11888 - Abnormal 89's

A little bit confused !!! Though I've got AC, but I'm not sure, if my solution should get this verdict. :( I have tried with each index so that by this index, I can make two palindrome from 0 to index and index+1 to len-1 . If I can make two palindrome, then given input is alindrome, otherwise not. ...
by Mukit Chowdhury
Mon Nov 30, 2015 11:29 am
Forum: Volume 115 (11500-11599)
Topic: 11576 - Scrolling Sign
Replies: 9
Views: 4559

Re: 11576 - Scrolling Sign

Getting WA ... Help please.... I've tried all the cases posted here. Would anyone please give me an input so that I can fix my bug?

Code: Select all

Accepted ...
I was getting WA for cases like these:

Code: Select all

2
3 4
AAA
AAB
CCC
DDD
3 4
AAA
BBB
BBF
FFD
Output must be

Code: Select all

10
9
by Mukit Chowdhury
Tue Mar 17, 2015 11:33 am
Forum: Volume 11 (1100-1199)
Topic: 1113 - Multiple Morse Matches
Replies: 1
Views: 1381

Re: 1113 - Multiple Morse Matches

Getting WA !!! :( Help please... #include<stdio.h> #include<iostream> #include<math.h> #include<string.h> #include<string> #include<stdlib.h> #include<map> #include<vector> #include<queue> #include<stack> #include<algorithm> #include<set> using namespace std; // Define Some Variables #define eps 1e-...
by Mukit Chowdhury
Tue Oct 14, 2014 7:31 am
Forum: Volume 105 (10500-10599)
Topic: 10557 - XYZZY
Replies: 31
Views: 14253

Re: 10557 - XYZZY

LazyTym wrote:why getting Wrong Ans.pls help..........
thanks in Advanced

Check this case :

Code: Select all

6
0 1 2
5 1 3
5 2 1 4
-100 0
-100 2 4 6
0 0
output must be...

Code: Select all

hopeless
by Mukit Chowdhury
Thu Sep 04, 2014 3:39 pm
Forum: Volume 104 (10400-10499)
Topic: 10419 - Sum-up the Primes
Replies: 51
Views: 16026

Re: 10419 - Sum-up the Primes

Getting TLE... Help please... :(

Code: Select all

		
Accepted
by Mukit Chowdhury
Thu Sep 04, 2014 6:17 am
Forum: Volume 100 (10000-10099)
Topic: 10081 - Tight Words
Replies: 16
Views: 5840

Re: 10081 - Tight words

I should have thought in this way... :/
Anyway thanks... :)
by Mukit Chowdhury
Thu Sep 04, 2014 6:15 am
Forum: Volume 104 (10400-10499)
Topic: 10449 - Traffic
Replies: 58
Views: 20609

Re: 10449 - Traffic

brianfry713 wrote:Yes it appears that the judge's input does not conform to the problem statement. There is a non-digit char after the last input.
Though it sounds strange according to problem statement... anyway... Thanks for ensuring me about non digit character of the last input... :)
by Mukit Chowdhury
Sun Aug 31, 2014 12:40 pm
Forum: Volume 100 (10000-10099)
Topic: 10081 - Tight Words
Replies: 16
Views: 5840

Re: 10081 - Tight words

Astonished to see, for computing 10^100 pow() can be used !!!! Would anybody please tell me, what is the actual range of returned value of pow() in C++ ??? It'll really help.... :)
Thanks in advance... :)

Go to advanced search