Search found 24 matches

by Sakib
Wed Dec 07, 2005 6:34 pm
Forum: Volume 4 (400-499)
Topic: 462 - Bridge Hand Evaluator
Replies: 32
Views: 14632

i dont really get your problem. but i find something unusual. when the end of file reaches your program output an extra output. for example when i press ctrl + z after the sample input your program output an extra "BID S". which can cause WA!!! i took input like this : while(scanf("%s...
by Sakib
Sun Dec 04, 2005 8:36 pm
Forum: Volume 4 (400-499)
Topic: 462 - Bridge Hand Evaluator
Replies: 32
Views: 14632

i just solve the problem. i think it is easy one with no tricky I/O. Some inputs. KS QS AS 2S 3S 4S 5S 6S 7S 8S JS TS 8H KS QS AC AS 3S 4C 5C 6C 7S 8S JS TS 8H KD QD AD 2D 3S 4S 5S 6S 7S 8D JS TS 8H KS QS AS 2D 3D 4C 5H 6H 7H 8S JH TH 8H KS QS AS AD KD QD AH KH QH AC JC KC 2C outputs : BID S BID S B...
by Sakib
Sun Nov 27, 2005 4:54 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 15111

Thanks Mamun Bhai.

I am totally clear now.
by Sakib
Sat Nov 26, 2005 5:31 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 15111

ACC now!

But i thought the last month has only five days.

so at the last case i wanted to count 5.
in other case it is 20.

please explain.

and many many thanks again.
by Sakib
Fri Nov 25, 2005 7:43 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 15111

Here is my code.
Please help me.

Code: Select all


Cut After ACC!

Mamun bhai thanks for helping in advance. :D
by Sakib
Thu Nov 24, 2005 11:02 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 15111

yes u r right.

The last month is uayet.

the output of the last input (4. uayet 4999) should be ----------

11 ok 7018 ? isn,t it ?

the outputs are same with yours for the rest.

but WA!!!!!!

i have read other posts , but cant make it ok.
should i post my code ?
by Sakib
Thu Nov 24, 2005 7:28 am
Forum: Volume 3 (300-399)
Topic: 300 - Maya Calendar
Replies: 69
Views: 15111

Problem 300 Maya Calender WA !

i am getting WA!! i use a big array to stroe all the tzolkin dates. spending a lot of memory. then i find the index using the haab date input and print the tzolkin date. everything seems ok. But WA!! please give me some inputs. which is the biggest haab date? 4. cumhu 4999 ? please give me correct o...
by Sakib
Sun Nov 20, 2005 5:18 pm
Forum: Volume 3 (300-399)
Topic: 327 - Evaluating Simple C Expressions
Replies: 19
Views: 10375

are this inputs possible ???????

++a + ++b + ++c
or
a++ + b++ + c++
please give the correct output.

i m getting WAAAA!!!!!!!
i think no var will be used more than once (according to the problem description).

please give me some other test cases.

Thanks.
by Sakib
Tue Nov 15, 2005 9:17 pm
Forum: Volume 3 (300-399)
Topic: 347 - Run
Replies: 20
Views: 8408

Ups !!!!!!!

That was a stupid mistake.
ACC now.
Many Many thanks to u for help.
My code was working well with sample input and output in my PC without initializing the arr[] in isDiff().

But really that mistake was stupid. i should not do that mistake.

Anyway thanks again mamun.
by Sakib
Tue Nov 15, 2005 7:12 am
Forum: Volume 3 (300-399)
Topic: 347 - Run
Replies: 20
Views: 8408

Thanks for help.

i dont understand what could be wrong.
here is my code :

Code: Select all

Cut After ACC.
please check it to see the output format is correct.
tell me what is wrong..........
by Sakib
Mon Nov 14, 2005 6:33 pm
Forum: Volume 3 (300-399)
Topic: 347 - Run
Replies: 20
Views: 8408

problem 347 WAAAA!!!!!!!

i generate all the 448 run around numbers. then i just print the number greater or equal to input; all output seems ok. but i m getting WAAAAAA!!!!!!!!!!! :x someone please help! i m going crazy......................... the biggest number is 96.... something like this. what will be the output for .....
by Sakib
Sat Oct 01, 2005 6:06 pm
Forum: Volume 6 (600-699)
Topic: 630 - Anagrams (II)
Replies: 25
Views: 9442

Thanks a lot!!!!!!!!
I am ACC now. :D
by Sakib
Thu Sep 15, 2005 5:17 pm
Forum: Volume 6 (600-699)
Topic: 630 - Anagrams (II)
Replies: 25
Views: 9442

630

i dont understand what is wrong. please help me with some input output. Here is my code. #include<stdio.h> #include<string.h> #include<ctype.h> char ss[21],tt[21]; int i,j,k,n,m,p,q,r; struct Texts { char word[21]; int len; }; Texts text[2000]; ////////////////////////////////////////// void sort(ch...
by Sakib
Sat Sep 03, 2005 5:49 pm
Forum: Volume 1 (100-199)
Topic: 123 - Searching Quickly
Replies: 55
Views: 11679

Hey guys thanks for help!
The problem was in the function "strupr( )" in p123. (ACC now)
but not clear abt p187.
by Sakib
Sat Sep 03, 2005 9:07 am
Forum: Volume 1 (100-199)
Topic: 123 - Searching Quickly
Replies: 55
Views: 11679

compile error in 187 and 123 plz heeeeeeeelp!!

Anybody please tell me why compile error in these two // problem 187 #include<stdio.h> #include<string.h> #include<ctype.h> int i,j,k,n,m,r,p,q,b,c; double a,sum; char s[20]; struct account { int n; char name[31]; int len; double val; }acc[101]; struct paccount { int n; account acc[101]; }pacc[5000]...

Go to advanced search