
Search found 2 matches
- Tue Aug 10, 2004 8:57 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110151
- Mon Aug 09, 2004 7:29 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110151
help - 101 WA
Here is my code:
//--------------------------------------------------
[cpp]
#include<iostream.h>
const int BOXNUM=200;
struct box
{
struct box *up, *down;
int no;
};
struct command
{
int action; //1:move; 2:pile;
int method; //1:onto; 2:over;
int object1,object2;
bool isquit,invalid ...
//--------------------------------------------------
[cpp]
#include<iostream.h>
const int BOXNUM=200;
struct box
{
struct box *up, *down;
int no;
};
struct command
{
int action; //1:move; 2:pile;
int method; //1:onto; 2:over;
int object1,object2;
bool isquit,invalid ...