Month: March 2015

26
Mar
2015

uva 10014 – Simple Calculations

This solution didn’t accurately done by me but i tried to understand how to solve it from…

16
Mar
2015

A leap year program in C

Enter a year to find out it’s leap year or not ! Explanation about the formula: http://www.infoplease.com/spot/leapyear1.html #include<stdio.h>…

02
Mar
2015

Codeforces 4A: Watermelon

It’s really easy problem..You will enjoy definitely #include<iostream> #include<cstdio> int main() { unsigned int weight,divide; while(scanf(“%u”,&weight)==1){ divide=weight%2;…

02
Mar
2015

To Carry or not to Carry

Dont forget to use format specifier for unsigned int %u #include<iostream> #include<cstdio> int main() { unsigned int a,b,output;…