# coding=utf-8 from time import time def logged(when): def log(f,*args,**kargs): print("called: function:%s,args:%r,kargs:%r"%(f,args,kargs)) def pre_ ...
分类:
编程语言 时间:
2016-08-05 17:35:44
阅读次数:
263
Description A number is called quasibinary if its decimal representation contains only digits 0 or 1. For example, numbers 0, 1, 101, 110011 — are qua ...
分类:
其他好文 时间:
2016-08-04 23:14:17
阅读次数:
223
题目链接: http://poj.org/problem?id=1316 Description In 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. For ...
分类:
其他好文 时间:
2016-08-03 22:06:51
阅读次数:
172
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Little Hi and Little Ho are playing a drinking game called HIHO. The game c ...
分类:
其他好文 时间:
2016-08-02 16:43:52
阅读次数:
168
The React team has an official Command Line Interface (CLI) for building React projects called "Create React App"; in this lesson, we show how to use ...
分类:
移动开发 时间:
2016-08-02 06:31:43
阅读次数:
277
Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18 ...
分类:
其他好文 时间:
2016-08-02 01:16:38
阅读次数:
249
Description In Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lot of jewelry with pearls in it. The Royal Pear ...
分类:
其他好文 时间:
2016-08-01 19:04:31
阅读次数:
167
原文地址:http://www.fpga4fun.com/PCI-Express5.html Xilinx makes using PCI express easy - they provide a free PCI Express core (called "Endpoint Block Plus ...
分类:
其他好文 时间:
2016-07-30 21:10:40
阅读次数:
156
A binary tree is a finite set of vertices that is either empty or consists of a root r and two disjoint binary trees called the left and right subtree ...
分类:
其他好文 时间:
2016-07-30 18:16:42
阅读次数:
181
A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The ...
分类:
其他好文 时间:
2016-07-24 16:04:33
阅读次数:
150