Search found 2 matches
- Fri May 12, 2006 5:20 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 109487
- Fri May 12, 2006 9:12 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 109487
help!
please take a look at this code and tell me why is it WA:
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
typedef struct blockpos
{
int col;
int row;
int bno;
}blockpos;
int main()
{
int num=0;
char cmd1[5],cmd2[5];
int b1,b2,rowmax;
int i,j,k;
blockpos index;
blockpos pos[25 ...
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
typedef struct blockpos
{
int col;
int row;
int bno;
}blockpos;
int main()
{
int num=0;
char cmd1[5],cmd2[5];
int b1,b2,rowmax;
int i,j,k;
blockpos index;
blockpos pos[25 ...