Search found 3 matches

by mahbub.cse.kuet
Wed Jun 08, 2011 9:24 am
Forum: Volume 5 (500-599)
Topic: 567 - Risk
Replies: 46
Views: 25879

567 (Risk) - WA

Already got WA 7 times and I surprised why ? Need a kind person who provide me critical input ?
I used Floyd. Thanks in advance.


int dist[22][22];

void Init()
{
FOR(i, 0, 21) {
FOR(j, 0, 21)
dist[i][j] = INF;
dist[i][i] = 0;
}

}
void FloydWarshall()
{
FOR(i, 0, 21)
FOR(j, 0, 21)
FOR(k ...
by mahbub.cse.kuet
Tue Apr 20, 2010 9:15 am
Forum: Volume 1 (100-199)
Topic: 105 - The Skyline Problem
Replies: 160
Views: 51807

Re: Input Stopped !!

Input ended with EOF(End of File)(Ctrl + Z)
by mahbub.cse.kuet
Wed Nov 18, 2009 2:31 pm
Forum: Volume 102 (10200-10299)
Topic: 10200 - Prime Time
Replies: 202
Views: 97155

10200 Prime Time

This problem made me crazzzzzzzzzzzy...
From other post i knew that EPS should add to avoid small precision error. I also Added EPS. BUT WRONG ANSWER. WHY ??????
PLEASE ANYBODY HELP ME........WAITING FOR REPLY..
MY CODE IS BELOW:
#include <iostream>
#include <math.h>
#include <stdio.h>

#define ...

Go to advanced search