Search found 5 matches

by liang1425
Fri Jul 08, 2005 5:56 am
Forum: Volume 2 (200-299)
Topic: 245 - Uncompress
Replies: 40
Views: 13106

245 WA

I always get WA,but I don't know why.
(The testdata is correct)
Please help me~~Thanks a lot


/*Q245: Uncompress*/
#include <stdio.h>
#include <stdlib.h>
typedef struct listnode *ptr;
typedef struct listnode{
char word[50];
ptr link;
};
ptr creat(char *word){
ptr node;
node=malloc(sizeof ...
by liang1425
Sun Jun 05, 2005 11:33 am
Forum: Volume 5 (500-599)
Topic: 576 - Haiku Review
Replies: 50
Views: 22443

Thank you :D
by liang1425
Sat Jun 04, 2005 7:18 pm
Forum: Volume 5 (500-599)
Topic: 576 - Haiku Review
Replies: 50
Views: 22443

I tested all the above test cases,and it's correctly.
But I still got WA.
Please help me.
Thanks a lot.

Code: Select all

cut
by liang1425
Sat Jun 04, 2005 7:14 pm
Forum: Volume 106 (10600-10699)
Topic: 10608 - Friends
Replies: 75
Views: 39236

Dear Sedefcho~
Thank you very much:)
I've known where my code was wrong.
Thank you.
by liang1425
Thu May 26, 2005 8:29 am
Forum: Volume 106 (10600-10699)
Topic: 10608 - Friends
Replies: 75
Views: 39236

10608WA

I've tried many datas,and it's correct......But I got W.A. >"<
Please help me!!Thanks a lot!!
/*Q10608: Friends*/
/*2005.5.25 W.A.*/
#include<stdio.h>

int main()
{
int i,j,n,a,b,c[30001],x,y,num,t[30001],max;

scanf("%d",&n);
while(n--){
for(i=0;i<30001;i++){ c[i]=0; t[i]=0; }
scanf("%d %d ...

Go to advanced search