摘要:This two call convention puzzels me since I knew them. MSDN explanations as below: _stdcall The __stdcall calling convention is used to call Win32 API functions. The callee cleans the stack. _cdecl ...
阅读全文
08 2012 档案
摘要:Problem Description The primes 3, 7, 109, and 673, are quite remarkable. By taking any two primes and concatenating them in any order the result will
阅读全文
摘要:Problem Description Starting with 1 and spiralling anticlockwise in the following way, a square spiral with side length 7 is formed. 37 36 35 34 33 32 3138 17 16 15 14 13 3039 18 5 4 3 12 2940 19 6 1 ...
阅读全文
摘要:Problem Description Each character on a computer is assigned a unique code and the preferred standard is ASCII (American Standard Code for Information Interchange). For example, uppercase A = 65, aste...
阅读全文
摘要:Problem Description It is possible to show that the square root of two can be expressed as an infinite continued fraction. sqrt(2) = 1 + 1/(2 + 1/(2 + 1/(2 + ... ))) = 1.414213... By expanding this f...
阅读全文
摘要:Problem Description A googol (10100) is a massive number: one followed by one-hundred zeros; 100100 is almost unimaginably large: one followed by two-hundred zeros. Despite their size, the sum of the...
阅读全文
摘要:Problem Description If we take 47, reverse and add, 47 + 74 = 121, which is palindromic. Not all numbers produce palindromes so quickly. For example, 349 + 943 = 1292,1292 + 2921 = 42134213 + 3124 = 7...
阅读全文