Tag: numbers
May 7, 2014
algorithms, code, code library, data structure, implementation, programming languages, sorting, VBA, vbscript, windows, windows scripting host
Among the simple sorting algorithms, the insertion sorting algorithm is my favourite. Insertion sort is simple to implement and gives an average quadratic O(n2) running time, like other simple …
Do you want to compute such numbers in two seconds? such as 85 x 85, 97 x 93, 23 x 27 … ? Multiplication of two digits (from 10 …
The problem is from SPOJ Online Judge The puzzle asks to you check if the given sequence of integers consists of strictly two parts: the first part descending and …
Given three integers a, b and c (all of them are 64 bit signed integers, to ), check if a + b > c. Since a + b can …
The problem is from Timus Online Judge: . The problem asks you to print the square root in reverse order. Pay attention to the input size, which is no …