Tag: math
Let –EOF (The Ultimate Computing & Technology Blog) — 328 words The Permanent URL is: Sex-is-Fun Equation (AMP Version)
October 14, 2012
algorithms, beginner, bit hacks, brute force, implementation, interview questions, math, programming languages, python, tricks
Q: n is a none-negative numbers, in order to let divides perfectly 7, characterise n. A: in binary representation is n ones. And 7 in binary is 111. The …
Q: Compute without integration. A: We know , Therefore, Therefore, The normal method: –EOF (The Ultimate Computing & Technology Blog) — 690 words The Permanent URL is: Simple Calculation …
Google ‘Proof without Words‘ you will find some interesting figures that are easy to understand. For example, the following figure is a vivid proof of the math formula Hint: …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/230/B The input of the numbers exceed a 4-byte integer, therefore, a long type (int64) should be used in Java. I feel like I …