Here, you may find the solutions to famous problems of various coding platforms like SPOJ || HACKEREARTH etc.
Please leave a comment in case you need solution or editorial to any problem.
Get Solutions || Editorials of Famous DP problems. Happy Coding :)
Search This Blog
Friday, 19 August 2016
SPOJ - Build a Fence Problem Solution
SPOJ - Build a Fence Problem Solution
Solution :-
#include<bits/stdc++.h>
using namespace std;
#define PI 3.141592654
int main()
{
double area,n;
while(1)
{
cin>>n;
if(!n)
break;
No comments:
Post a Comment