Search found 1 match

by Antono
Tue Apr 21, 2009 10:52 pm
Forum: Volume 3 (300-399)
Topic: 318 - Domino Effect
Replies: 12
Views: 11323

318 Domino Effect

I tried to solve this problem. I got WA. Can anybody help me? Thanks. My code is here


#include <cstdio>
#include <queue>

using namespace std;


struct Domino
{
int id;
int time;
bool in_Queue;
bool fresh;
};

struct Row
{
int length;
bool exists;
};


int main()
{
queue<struct Domino ...

Go to advanced search