can anyone pls help me out ...i am getting WA on 1 case and 2 RE .Here is my code.
//////////////////////////////////////////////////
#include <iostream>
#include <cmath>
#define MIN -1000000000
using namespace std;
static bool isSafe=false;
static int safe[505][505];
static int value[501][501];
Read more… (150 words)