Category: ACM

11
May
2016

Problem 3 from 52 programming problems book

1st approach: #include<iostream> #include<cstdio> using namespace std; int main() { int counts=0; for(int i=1000; i>=1; i–) {…

08
May
2016

Problem 1 from 52 programming problems book

  http://ideone.com/ItvUGS

08
May
2016

Problem 2 from 52 programming problems book

I was using code blocks but it was giving me compiler error for c++11 was not on…

03
May
2016

Red Cross in Internet LAN icon on system tray

Today I faced this problem.I tried all method found on the net but didn’t worked anything.So I…

17
Mar
2016

UVA 12798 – Handball Solution

My code: #include<bits/stdc++.h> using namespace std; int main() { int n,m,i,j; while(scanf(“%d %d”,&n,&m)==2) { int cnt=0; for(i=0;…

13
Mar
2016

Codeforces Solution : Theatre Square

Here to remember: – Theatre square is rectangular shape n X m meters –  Each flagstone is…