Category Archives: ACM Technique

Prime or Not

Another easy understandable tut is in this link:


Sum of series

series: 1/1+1/2+1/3+….+1/N

series: 1/1-1/2+1/3-1/4+1/5….1/N

Series: 1^2/1!+2^2/2!+3^2/3!+4^2/4!+…..+N^2/N!


Series: 1^2/1!+3^2/2!+5^2/5!+….N^2/N!


program to find summation of squares of all numbers  from 5 to 25
series: 25+36+49+…..+625=?




Some ICPC related programming techniques in c

Sometimes i feel i have to write those in somewhere so i am writing those techniques here which I am learning day by day by reviewing others code….

Here ==1 means TRUE and the program will enter the loop if anything inside the loop will work except zero 0.

Here for(;;) means infinity loop run and everything will work fine except k==0..when zero come program will stop to run

You can also put all of your input in your extended outside text file and load it in the console
by this code