May 21, 2015
May 13, 2015
May 5, 2015
У скольких целых чисел, лежащих в диапазоне от 1 до 1000, есть цифра 3?
Сначала узнаем, сколько чисел не имеют 3 в своей записи. Для этого на каждое место ставим 9 цифр, не включающие 3 т.е. 9 * 9 * 9 = 729. Если всего чисел 1000, то ответ 1000 – 729 = 271.
http://tproger.ru/problems/count-digit-3-in-numbers-from-1-to-1000/
Labels:
combinatorics,
math
Apr 29, 2015
JIT
JIT in Python via LLVM
http://eli.thegreenplace.net/2015/building-and-using-llvmlite-a-basic-example/
http://eli.thegreenplace.net/2012/08/10/building-and-using-llvmpy-a-basic-example
http://nullprogram.com/blog/2015/03/19/ A Basic Just-In-Time Compiler
http://www.tedunangst.com/flak/post/now-or-never-exec how to add PROT_EXEC on mmap
http://eli.thegreenplace.net/2015/building-and-using-llvmlite-a-basic-example/
http://eli.thegreenplace.net/2012/08/10/building-and-using-llvmpy-a-basic-example
http://nullprogram.com/blog/2015/03/19/ A Basic Just-In-Time Compiler
http://www.tedunangst.com/flak/post/now-or-never-exec how to add PROT_EXEC on mmap
Labels:
jit
Apr 28, 2015
Apr 16, 2015
Mar 25, 2015
Mar 17, 2015
Subscribe to:
Posts (Atom)






