码迷,mamicode.com
首页 > 其他好文
173. Binary Search Tree Iterator
...
分类:其他好文   时间:2016-06-05 08:41:19    阅读次数:155
总数统计
【题目描述】 给出n个数,统计两两之和小于k的方案数之和。 【题目描述】 给出n个数,统计两两之和小于k的方案数之和。 给出n个数,统计两两之和小于k的方案数之和。 【输入描述】 第一行一个数n,表示数字的个数; 第二行到第n + 1行,每行一个不超过2,000,000,000的数k; 第n+2行一 ...
分类:其他好文   时间:2016-06-05 08:39:52    阅读次数:188
STL - STL容器介绍
原文地址:http://www.cnblogs.com/duzouzhe/archive/2010/01/12/1645191.html STL的容器可以分为以下几个大类: 一:序列容器 : vector, list, deque, string. 二 : 关联容器 : set, multiset, ...
分类:其他好文   时间:2016-06-05 08:40:11    阅读次数:122
324. Wiggle Sort II
Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3].... Example:(1) Given nums = [1, 5, 1, 1, 6, 4], one possible ...
分类:其他好文   时间:2016-06-05 08:41:10    阅读次数:189
1>0
现在几点了? namescape consoleApplication { class Program { static void Main(string[] args) { Console.Write("现在几点了?"); int a =int.parse(Console.ReadLine()); ...
分类:其他好文   时间:2016-06-05 07:39:23    阅读次数:178
运动框架中级
多个物体同时运动 ?例子:多个Div,鼠标移入变宽 –单定时器,存在问题 –每个Div一个定时器 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml ...
分类:其他好文   时间:2016-06-05 07:39:25    阅读次数:225
172. Factorial Trailing Zeroes
...
分类:其他好文   时间:2016-06-05 07:37:57    阅读次数:140
HDOJ/HDU 2565 放大的X(分段思考~)
Problem Description 请你编程画一个放大的’X’。 如3*3的’X’应如下所示:X X XX X5*5的’X’如下所示:X X X X X X XX XInput 输入数据第一行是一个整数T,表示有T组测试数据; 接下来有T行,每行有一个正奇数n(3 <= n <= 79),表示放大的规格。Output 对于每一个n打印一个规格为n * n放大的’X’;每组输出...
分类:其他好文   时间:2016-06-05 06:36:11    阅读次数:207
HDOJ/HDU 2352 Verdis Quo(罗马数字与10进制数的转换)
Problem Description The Romans used letters from their Latin alphabet to represent each of the seven numerals in their number system. The list below shows which letters they used and what numeric val...
分类:其他好文   时间:2016-06-05 06:36:19    阅读次数:176
HDOJ/HDU 2564 词组缩写(单词缩写)
Problem Description 定义:一个词组中每个单词的首字母的大写组合称为该词组的缩写。 比如,C语言里常用的EOF就是end of file的缩写。Input 输入的第一行是一个整数T,表示一共有T组测试数据; 接下来有T行,每组测试数据占一行,每行有一个词组,每个词组由一个或多个单词组成;每组的单词个数不超过10个,每个单词有一个或多个大写或小写字母组成; 单词长度不超过1...
分类:其他好文   时间:2016-06-05 06:35:49    阅读次数:274
215. Kth Largest Element in an Array
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For exam ...
分类:其他好文   时间:2016-06-05 06:35:26    阅读次数:164
点击文字,弹出层
...
分类:其他好文   时间:2016-06-05 06:35:54    阅读次数:222
171. Excel Sheet Column Number
...
分类:其他好文   时间:2016-06-05 06:33:18    阅读次数:173
根据某列,将两个 dataframe 合并
import pandas as pd import numpy as np df1 = pd.DataFrame(np.array([['a', 5, 9], ['b', 4, 61], ['c', 24, 9]]), columns = ['name', 'attr11', 'attr12'])... ...
分类:其他好文   时间:2016-06-05 06:32:27    阅读次数:1697
运动框架基础
运动基础 ?让Div运动起来 ?速度——物体运动的快慢 ?运动中的Bug –不会停止 –速度取某些值会无法停止 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DT ...
分类:其他好文   时间:2016-06-05 06:34:27    阅读次数:222
168. Excel Sheet Column Title
...
分类:其他好文   时间:2016-06-05 06:33:51    阅读次数:215
169. Majority Element
...
分类:其他好文   时间:2016-06-05 06:32:01    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!