but i mistaked at assigning array range....
all i tested was that legth was less than 10.....
who gets stuck in this problem should try input length greater.
Search found 2 matches
- Sat Jan 24, 2004 8:38 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50442
- Sat Jan 24, 2004 6:44 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50442
#103 WA but all test seems gets right answer
[cpp]
#include <iostream>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
class Run
{
int abox[30][10];
int aboxindex[30];
int alengthtable[30];
int apath[30][10];
int imaxlengthindex;
int i_box,i_dim;
public:
vector<string> Split(const string& source,const ...
#include <iostream>
#include <stdlib.h>
#include <string>
#include <vector>
using namespace std;
class Run
{
int abox[30][10];
int aboxindex[30];
int alengthtable[30];
int apath[30][10];
int imaxlengthindex;
int i_box,i_dim;
public:
vector<string> Split(const string& source,const ...