All pastes #247780 Raw Edit

Anonymous

public text v1 · immutable
#247780 ·published 2006-11-13 21:46 UTC
rendered paste body
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <string.h>

using namespace std;

int i =0; 

class RGBStreet
{
    public:
        int costs[20][3];

        int estimateCost(vector <string> houses)
        {
            int r,g,b;
            sscanf(houses[i].c_str,"%d %d %d",&r,&g,&b);

            ++i;

            return estimateCost(vector <string> houses);
        }

};

int main(void)
{
    RGBStreet obj;
    return 0;

}