Search found 4 matches

by efrshuvo
Wed Aug 10, 2016 9:34 am
Forum: Volume 2 (200-299)
Topic: 208 - Firetruck
Replies: 48
Views: 24667

Re: 208 - Firetruck

I am really confused. For every testcase here and uDebug my code gives the correct answer but i am getting WA all the time. can any body help me to find the bug or any critical input / out put for debug?


//208 Firetruck
//https://uva.onlinejudge.org/external/2/208.pdf

#define _CRT_SECURE_NO ...
by efrshuvo
Mon Nov 03, 2014 3:05 pm
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 45313

Re: 10004 - Bicoloring

Problem description says
the graph will be strongly connected . That is, there will be at least one path from any node to any other node. So your function is_bicolorable is unnecessary.

I don't know why you got WA. Maybe judge's input contains invalid input. But if you change line this way you'll ...
by efrshuvo
Mon Nov 03, 2014 1:00 pm
Forum: Volume 100 (10000-10099)
Topic: 10004 - Bicoloring
Replies: 93
Views: 45313

Re: 10004 - Bicoloring

It is really too much frustrating. All sample input output passed ( All posted in this thread) but still WA.


#include<cstdio>
#include<list>
#include<cstring>

#define MAX_NODE 200
#define MAX_EDGE 10000


using namespace std;

int colored[MAX_NODE];

int dfs(list<int> adj[],int v,int visited ...
by efrshuvo
Thu Nov 08, 2012 9:35 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 69659

Re: 10062 - Tell Me the Frequencies!

HI, I have tried all the test case every time my code passed all the test case i found here also the all other i can make including the sample input . Every time My code generate the correct answer and I also take care about the blank line between every output sets and also not to print a blank line ...

Go to advanced search