本文是在学习中的总结。欢迎转载但请注明出处:http://blog.csdn.net/pistolove/article/details/46366207Description:Count the number of prime numbers less than a non-negative nu ...
分类:
其他好文 时间:
2017-06-01 19:29:09
阅读次数:
135
P(positive)型半导体 空穴(共价键上流失一个电子)浓度远大于自由电子浓度的杂质半导体,在纯净硅晶体中掺入三价元素 N(negative)型半导体 自由电子浓度远大于空穴(共价键上流失一个电子)浓度的杂质半导体,在纯净硅晶体中掺入五价元素 PN结 注意:P型半导体呈电中性,空穴主要由杂质原子 ...
分类:
其他好文 时间:
2017-05-31 15:26:05
阅读次数:
274
Overflow Write a program that reads an expression consisting of two non-negative integer and an operator. Determine if either integer or the result of ...
分类:
其他好文 时间:
2017-05-29 12:07:52
阅读次数:
163
n位二进制,求不包含连续1的二进制(n位)数字个数。 http://www.geeksforgeeks.org/count-number-binary-strings-without-consecutive-1s/ 也可以令f[i],表示共i位的二进制数字中,不包含连续1的二进制(i位)数字的个数。 ...
分类:
其他好文 时间:
2017-05-29 11:10:27
阅读次数:
397
Problem statement: Given a positive integer n, find the number of non-negative integers less than or equal to n, whose binary representations do NOT c ...
分类:
其他好文 时间:
2017-05-29 09:52:27
阅读次数:
154
题目: Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its pa ...
分类:
编程语言 时间:
2017-05-28 20:51:36
阅读次数:
187
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: ...
分类:
其他好文 时间:
2017-05-28 13:59:27
阅读次数:
184
var x= 10if(x>=0){ scala.math.sqrt(x)}else{ throw new IllegalArgumentException("the value should not be negative")}if else表达式的值为res1: Double = 3.16227 ...
分类:
其他好文 时间:
2017-05-26 23:14:03
阅读次数:
147
题目描述 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a si ...
分类:
其他好文 时间:
2017-05-26 20:42:56
阅读次数:
207
描写叙述: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your ...
分类:
其他好文 时间:
2017-05-26 19:01:19
阅读次数:
154