Search found 1 match

by jose11589
Fri Apr 26, 2013 6:11 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110151

101 WA I have not found bad test case yet.

I left DEBUG as 1 to view stste of world after every move, make 0 to remove debug statements.

#include <iostream>
#include <vector>
#include <string>

#define DEBUG 1

void init(std::vector<int> world[], int size);
void print(std::vector<int> [], int);
void move(std::vector<int> [], int size, int ...

Go to advanced search