One small observation, you can use the M_PI constant already available
when you #include
On Thu, Sep 15, 2011 at 3:57 PM, KK wrote:
> http://www.spoj.pl/problems/PIE/
> I solved this using Binary Search its similar to shake shake shaky of
> spoj... but still get WA :(
> Plzz help...
>
> #include
http://www.spoj.pl/problems/PIE/
I solved this using Binary Search its similar to shake shake shaky of
spoj... but still get WA :(
Plzz help...
#include
#include
using namespace std;
bool solve(int *pie, int n, int mid,int f)
{
int sum = 0;
for (int i=0; i= f)
return t