摘要:1336 - Sigma Function Sigma function is an interesting function in Number Theory. It is denoted by the Greek letter Sigma (σ). This function actually
阅读全文
摘要:1282 - Leading and Trailing You are given two integers: n and k, your task is to find the most significant three digits, and least significant three d
阅读全文
摘要:1236 - Pairs Forming LCM Find the result of the following code: long long pairsFormLCM( int n ) { long long res = 0; for( int i = 1; i <= n; i++ ) for
阅读全文
摘要:1215 - Finding LCM LCM is an abbreviation used for Least Common Multiple in Mathematics. We say LCM (a, b, c) = L if and only if L is the least intege
阅读全文
摘要:1213 - Fantasy of a Summation If you think codes, eat codes then sometimes you may get stressed. In your dreams you may see huge codes, as I have seen
阅读全文
摘要:1163 - Bank Robbery In one very cold morning, Mark decides to rob a bank. But while trying hacking into the security system, he found that it is locke
阅读全文
摘要:1138 - Trailing Zeroes (III) You task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As y
阅读全文