Search found 2 matches

by daniellee
Sat Sep 22, 2012 7:20 am
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 8096

Re: 201 Squares

Hi brianfry713,

Thanks.
1.
I have remove "endl" at the end of:
out << "**********************************" << endl; //<<endl; <-- remove this
Submit again, still got WA.

2.
if(hasRect == false)
cout << "No completed squares can be found." << endl;
// cout << endl; <-- remove this
Submit again ...
by daniellee
Fri Sep 21, 2012 7:47 pm
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 8096

201 Squares

It drives me crazy... I have tested several test cases with output OK but keep getting WA.
Please help me to check what have I done wrong.



#include <iostream>
#include <string>
#include <fstream>

using namespace std;

typedef struct direct_t{
bool V;
bool H;
bool B;
} direct;

direct ** ary ...

Go to advanced search