Search found 3 matches

by iqbal csedu
Sun Sep 12, 2010 3:13 pm
Forum: Volume 7 (700-799)
Topic: 727 - Equation
Replies: 156
Views: 57152

Re: 727 - Equation

ahhhh....alhamdulillah at last got accepted :D :D many many thanks to sazzad vai....have u got my personal message?@sazzad vai
by iqbal csedu
Fri Sep 10, 2010 10:47 am
Forum: Volume 7 (700-799)
Topic: 727 - Equation
Replies: 156
Views: 57152

Re: 727 - Equation

oh...I have tested almost all test data presented in this post...and all matched
but i can't understand why getting WA....it seems to me problem is in handling input..but cant solve..
is there any one to help me as soon as possible..

Code: Select all

removed after accepted
by iqbal csedu
Sun Jun 13, 2010 9:56 pm
Forum: Volume 5 (500-599)
Topic: 567 - Risk
Replies: 46
Views: 25698

Re: 567 (Risk) - Wrong Answer

I cant understand why i am getting worng answer.is there any one to help me
I used simple bfs.

#include<cstdio>
#include<queue>
using namespace std;

int g[21][21],d[21],seen[21];
int main()
{
//freopen("output.txt","w",stdout);

queue<int> q;

int count=0,i,e,num,k,j,tc,s,u,v,source ...

Go to advanced search