Search found 2 matches

by quinine
Tue Nov 20, 2007 7:51 pm
Forum: Volume 3 (300-399)
Topic: 352 - The Seasonal War
Replies: 54
Views: 23243

sorry, my algorithm was wrong... i should've used recursive to solve this problem (but i didn't, cause i want to prove that i can solve this problem using iteration not recursive)...

to any body who still have WA , i suggest you to check with this sample input :

INPUT :

5
00000
01010
01010
01110 ...
by quinine
Sat Nov 03, 2007 7:53 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50902

103 - Stacking Boxes

Hi all,

My code produces the correct output for all the test input I could find on this board, but I still get WA. I would be glad for any help. Thanks!

#include <stdio.h>
#include <stdlib.h>

int n; // no. of dimensions n

struct Box {
int dims[10]; // dimensions
int sublen, inputno ...

Go to advanced search