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",s) == 1 ...
Search found 24 matches
- Wed Dec 07, 2005 6:34 pm
- Forum: Volume 4 (400-499)
- Topic: 462 - Bridge Hand Evaluator
- Replies: 32
- Views: 16193
- Sun Dec 04, 2005 8:36 pm
- Forum: Volume 4 (400-499)
- Topic: 462 - Bridge Hand Evaluator
- Replies: 32
- Views: 16193
- Sun Nov 27, 2005 4:54 am
- Forum: Volume 3 (300-399)
- Topic: 300 - Maya Calendar
- Replies: 69
- Views: 16225
- Sat Nov 26, 2005 5:31 am
- Forum: Volume 3 (300-399)
- Topic: 300 - Maya Calendar
- Replies: 69
- Views: 16225
- Fri Nov 25, 2005 7:43 am
- Forum: Volume 3 (300-399)
- Topic: 300 - Maya Calendar
- Replies: 69
- Views: 16225
Here is my code.
Please help me.
Mamun bhai thanks for helping in advance. 
Please help me.
Code: Select all
Cut After ACC!

- Thu Nov 24, 2005 11:02 am
- Forum: Volume 3 (300-399)
- Topic: 300 - Maya Calendar
- Replies: 69
- Views: 16225
- Thu Nov 24, 2005 7:28 am
- Forum: Volume 3 (300-399)
- Topic: 300 - Maya Calendar
- Replies: 69
- Views: 16225
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 ...
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 ...
- Sun Nov 20, 2005 5:18 pm
- Forum: Volume 3 (300-399)
- Topic: 327 - Evaluating Simple C Expressions
- Replies: 19
- Views: 10598
- Tue Nov 15, 2005 9:17 pm
- Forum: Volume 3 (300-399)
- Topic: 347 - Run
- Replies: 20
- Views: 9505
- Tue Nov 15, 2005 7:12 am
- Forum: Volume 3 (300-399)
- Topic: 347 - Run
- Replies: 20
- Views: 9505
Thanks for help.
i dont understand what could be wrong.
here is my code :
please check it to see the output format is correct.
tell me what is wrong..........
i dont understand what could be wrong.
here is my code :
Code: Select all
Cut After ACC.
tell me what is wrong..........
- Mon Nov 14, 2005 6:33 pm
- Forum: Volume 3 (300-399)
- Topic: 347 - Run
- Replies: 20
- Views: 9505
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 ...
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 ...
- Sat Oct 01, 2005 6:06 pm
- Forum: Volume 6 (600-699)
- Topic: 630 - Anagrams (II)
- Replies: 25
- Views: 10707
- Thu Sep 15, 2005 5:17 pm
- Forum: Volume 6 (600-699)
- Topic: 630 - Anagrams (II)
- Replies: 25
- Views: 10707
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 ...
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 ...
- Sat Sep 03, 2005 5:49 pm
- Forum: Volume 1 (100-199)
- Topic: 123 - Searching Quickly
- Replies: 55
- Views: 12616
- Sat Sep 03, 2005 9:07 am
- Forum: Volume 1 (100-199)
- Topic: 123 - Searching Quickly
- Replies: 55
- Views: 12616
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 ...
// 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 ...