## Search found 4 matches

Thu May 15, 2008 7:27 am
Forum: Volume 4 (400-499)
Topic: 496 - Simply Subsets
Replies: 48
Views: 9399

### Re: Help me with 496

I try to solve this problem many times but I still got WA.
Can anybody help me what my code is wrong.

Code: Select all

Delete after AC
Sat Apr 19, 2008 10:54 am
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14723

### Re: 868 - Numerical Maze

I try to solve this problem many times and now I got AC. First, I print output by this code. printf("1 %d\n%d %d\n\n" ,start ,row ,end); I got WA. I got AC when I change code to printf("1 %d\n%d %d\n" ,start ,row ,end); if(set--) printf("\n"); I think that the last output don't have two newline.
Sat Apr 19, 2008 7:55 am
Forum: Volume 8 (800-899)
Topic: 868 - Numerical Maze
Replies: 21
Views: 14723

### Help!

Code: Select all

1

4 3
1 1 2
1 2 1
2 1 2
1 2 3
What should be print for this test case?

I think it should be

Code: Select all

1 1
4 3
because it follow the rule 1,1,2,1,2,3.

Am I correct?
Fri May 11, 2007 4:03 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 41168

### Help! 101 RTE signal 11

I compile on my PC are correctly ,but I getting Runtime Error Signal 11 #include<stdio.h> #include<stdlib.h> typedef struct block_t { short name; struct block_t *next; }BLOCK; void clearBlock(BLOCK *[]); int main(void) { char str[5] ,mode ,flag; short n ,a ,b ,i ,j ,tA ,tB ,fA ,fB; BLOCK **ptA ,**pt...