Search found 1 match

by pedrosorio
Wed Apr 06, 2011 4:12 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110355

101 Runtime Error C++

I have RTE at 0.000s, but it works well for the sample input and all the other inputs I've tried. Does anyone have any hints?


#include <iostream>
#include <string>
#include <stack>

using namespace std;

stack<int> piles[30];
stack<int> mover;
int loc[30];

void move(int n1) {
int n;
while ...

Go to advanced search