Category: ACM

03
Nov
2015

Reverse Array/Array Copy

code: #include<stdio.h> int main() { int ara[]={10,20,30,40,50,60,70,80,90,100}; //took this array for various limit int ara2[10]; //max value…

01
Nov
2015

LCM – Least Common Multiple

Multiple of 3 is 3×1=3 3×2=6 3×3=9 3×4=12 3×5=15 3×6=18 3×7=21 3×8=24 3×9=27 3×10=30 Multiple of 4…

01
Nov
2015

GCD Greatest Common Divisor(Factor)/Highest Common Factor

এখানে লজিকটা হচ্ছে…Here the logic is: For 12: 1×12=12 2×6=12 3×4=12 So factor of 12=1,2,3,4,6,12 (We don’t…

21
Oct
2015

URI Online Judge | 1042 Simple Sort

https://www.urionlinejudge.com.br/judge/en/problems/view/1042 Here this links may help http://www.mathsisfun.com/definitions/ascending-order.html and http://www.mathsteacher.com.au/year7/ch02_power/06_asc/asc.htm

07
Aug
2015

Sorting Algorithm : Insertion Sort

From this two video I tried to re learn and implement the algorithm with pseudo code. Pseudocode:…

06
Aug
2015

URI Online Judge Solution | 1041 Coordinates of a Point

Here is the logic,  If x!=0 and y==0 then it will be in the y asix and…