I have got RTE on this problem for long
I tested some cases , and fonud all of them are right.
Can anyone help me with the problem?
Here is my code:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct queue{
int data;
struct queue *next;
};
struct squeue{
int data;
struct ...
Search found 4 matches
- Tue Jan 02, 2007 10:47 am
- Forum: Volume 5 (500-599)
- Topic: 540 - Team Queue
- Replies: 37
- Views: 23838
- Mon Jan 01, 2007 3:31 pm
- Forum: Volume 7 (700-799)
- Topic: 726 - Decode
- Replies: 36
- Views: 13918
726 ~ in C WA need help
I have tried a lot of cases and got them all right.
Can anyone give me help?
Below is my code......
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
struct CHARS{
char item;
int num;
};
typedef struct CHARS CHS;
int cmp(const void *a1, const void *a2)
{
if(((CHS ...
Can anyone give me help?
Below is my code......
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
struct CHARS{
char item;
int num;
};
typedef struct CHARS CHS;
int cmp(const void *a1, const void *a2)
{
if(((CHS ...
- Mon Dec 04, 2006 5:58 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108617
Re: ACM101 WA "C"
[quote="scan33scan33"]I got a lot of WAs for this problem.
And test for a lot of cases and got them right.
So......help me please!
or give me some samples, thx.
I got an AC use C compiler...................
I previously chose C++........
sorry for asking....
And test for a lot of cases and got them right.
So......help me please!
or give me some samples, thx.
I got an AC use C compiler...................
I previously chose C++........
sorry for asking....
- Mon Dec 04, 2006 5:44 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108617
ACM101 WA "C"
I got a lot of WAs for this problem.
And test for a lot of cases and got them right.
So......help me please!
or give me some samples, thx.
code removed
And test for a lot of cases and got them right.
So......help me please!
or give me some samples, thx.
code removed