Search found 77 matches

by Niaz
Mon Dec 20, 2004 7:59 pm
Forum: Other words
Topic: New idea for authors rank list
Replies: 5
Views: 1958

I have a little bit different opinions. Problem # 1 -------------- Right now there is no way left to the previous good rank holders to claim his/her rank. For an example Mohammad Sajjad Hossain was the highest rank holder from Bangladesh and he was in the 7th place in World Ranks in the mid 2003. Bu...
by Niaz
Mon Dec 20, 2004 7:20 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 184482

Sohel, Congratulations here for your recent result in International and National Programming Contests.
6th in ICPC 2004
3rd in NCPC 2004

Niaz
by Niaz
Mon Dec 20, 2004 1:01 pm
Forum: Algorithms
Topic: Graph Algorithm Training for Newcomer and Interested Person
Replies: 3
Views: 1719

Graph Algorithm Training for Newcomer and Interested Person

Hello Everybody, This is Niaz Morshed Chowdhury from Dhaka, Bangladesh. In this "Topic" I will list Graph Algorithm and their sample implementation as well as some useful information and links. I am not a good programmer but I can say, from my side the try will be the best. I hope other experienced ...
by Niaz
Mon Dec 20, 2004 12:38 pm
Forum: Other words
Topic: The Best Online Contest
Replies: 4
Views: 2086

I will go with Sohel. ICPC Dhaka 2004.
I have seen almost all the Regional problems of 2004 and I found this one (Dhaka 204) is the best and the hardest also. Thanks to Shahriar Bhaia, Tomal Bhaia, Sajjad Bhaia, Kamruzzaman Bhaia. They are the men who make us so busy :)
by Niaz
Sat Dec 18, 2004 8:12 pm
Forum: Volume 101 (10100-10199)
Topic: 10110 - Light, more light
Replies: 76
Views: 26238

This is my accepted code. Just look... so small and so simpl

This is my accepted code. Just look... so small and so simple. :) I hope, it will inspire you to think in a simple way. #include<stdio.h> #include<math.h> int main() { long double num,b; long a; while(1) { scanf("%Lf",&num); if(num==0) break; a= some_function(num); //calling a commonly used //builti...
by Niaz
Sat Dec 18, 2004 8:05 pm
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 28061

I faced lots of troubles with this problem and finally identified few points and got accepted. 1. There is a cycle. Check it properly. 2. Fix your code for this type of input : 10 kuti kuti 1 shata 1 3. There is an input, it is 0 (zero). What is your output for this input ? 4. I am not sure but I ha...
by Niaz
Sat Dec 18, 2004 5:21 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80103

hmmm. Great Programmer and also Great Helper. Well done Sohel. :)
by Niaz
Sat Dec 18, 2004 5:17 pm
Forum: Volume 100 (10000-10099)
Topic: 10099 - The Tourist Guide
Replies: 91
Views: 28824

There will be a complete blank line after each scenario. I am giving here a sample input output format. Hope it will help you. Sample Input 7 10 1 2 30 1 3 15 1 4 10 2 4 25 2 5 60 3 4 40 3 6 20 4 7 35 5 7 20 6 7 30 1 7 99 7 10 1 2 30 1 3 15 1 4 10 2 4 25 2 5 60 3 4 40 3 6 20 4 7 35 5 7 20 6 7 30 1 7...
by Niaz
Sat Dec 18, 2004 5:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10023 - Square root
Replies: 121
Views: 27810

After re-judging, this function has become a 'baby' one. Now the real challenge is waiting for every one. :)
by Niaz
Sat Dec 18, 2004 4:28 pm
Forum: Volume 100 (10000-10099)
Topic: 10055 - Hashmat the Brave Warrior
Replies: 166
Views: 46461

This is one of the easiest problems of this Archive. But still there are some tricks. To solve this problem you need to use Double (I used Long Double) and you mustn't use the built in fabs(). Write this function for your code manually and then there will be nothing to stop you from getting accepted...
by Niaz
Sat Dec 18, 2004 4:21 pm
Forum: Volume 100 (10000-10099)
Topic: 10000 - Longest Paths
Replies: 160
Views: 36490

It is not true that DFS is not working here. I have solved this problem at first (before re-judging) with DFS. But After re-judging I got TLE and then I have attacked this problem with BFS and at that time I got WA. Finally I have managed to solve this `funny' problem with DFS with some pruning. I g...
by Niaz
Sat Dec 18, 2004 4:09 pm
Forum: Volume 107 (10700-10799)
Topic: 10768 - Planarity
Replies: 19
Views: 4656

It is better to submit problems using submit-o-matic and also not by pasting but by uploading the code. In case of pasting, some times I got CE and finally I found (from the reply mail) that some of the lines (specially from the bottom or big lines from the right side) have been broken/deleted autom...
by Niaz
Sat Dec 18, 2004 3:59 pm
Forum: Volume 107 (10700-10799)
Topic: 10773 - Back to Intermediate Math
Replies: 41
Views: 17028

Though I got it accepted still I have some confusion about Straight Crossing. Why the river's velocity is ignored here ? There must be an effect of river's velocity. For Anupam only : There is a math problem in Tofajjal Sir's Physics Book in HSC Level. At that math, it is shown that a boat can cross...
by Niaz
Sat Dec 18, 2004 3:49 pm
Forum: Volume 107 (10700-10799)
Topic: 10777 - God! Save me
Replies: 3
Views: 2949

Thanks kathmolla. I got accepted by one submission using your formula.
by Niaz
Sat Dec 18, 2004 2:56 pm
Forum: Volume 107 (10700-10799)
Topic: 10788 - Parenthesizing Palindromes
Replies: 17
Views: 13237

Can any one give me any Critical test case ?

Can any one give me any Critical test case ?
I am trying to solve this problem and getting WA again and again. I may miss some thing from the problem. Please give me some input and output so that I can fix my BUG :(

Thanks in advance.

Go to advanced search