【题目】
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Inpu...
分类:
其他好文 时间:
2015-01-22 21:53:23
阅读次数:
259
题目:
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:D...
分类:
编程语言 时间:
2015-01-11 14:56:20
阅读次数:
236
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2015-01-08 22:51:58
阅读次数:
270
/*实践再次说明ch=getchar()的速度非常慢*//*大水题,不解释*/#include#includeint main(){ int i,j,n,count; int a[150]; char ch,s[210]; j=1; for(i=97; i3) j=1;...
分类:
其他好文 时间:
2015-01-07 23:18:22
阅读次数:
142
<head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"><metacontent="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"name="viewport"><metaname="format-detection"content="telephone=no"><metacon..
分类:
Web程序 时间:
2014-12-26 18:57:02
阅读次数:
167
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit string...
分类:
其他好文 时间:
2014-12-23 19:40:19
阅读次数:
192
题意:
给出若干棵树的高度,你可以进行一种操作:把某棵树增高h,花费为h*h。
操作完成后连线,两棵树间花费为高度差*定值c。
求两种花费加和最小值。
题解:
跟NOIP2014 D1T3很像。
暴力动规是O(1*10^9)会T
所以单调队列一下,每颗树扫两遍结束。
完事,看水代码吧。
#include
#include
#include
#include ...
分类:
其他好文 时间:
2014-12-22 09:26:23
阅读次数:
158
在Verilog-1995中,只有integer数据类型被转移成有符号数,而reg和wire数据类型则被转移成无符号数。由于integer类型有固定的32位宽,因此它不太灵活。在Verilog-2001中,有符号形式也被扩展到reg和wire数据类型中。新加一个关键字,signed,可以按照下面的方...
分类:
其他好文 时间:
2014-12-19 15:27:22
阅读次数:
236
format-detection翻译成中文的意思是“格式检测”,顾名思义,它是用来检测html里的一些格式的,那关于meta的format-detection属性主要是有以下几个设置:metaname="format-detection"content="telephone=no"metaname=...
分类:
Web程序 时间:
2014-12-18 16:35:36
阅读次数:
176
1 package com.java7; 2 // A simple automated telephone directory. 3 class Phone { 4 public static void main(String[] args) { 5 String num...
分类:
其他好文 时间:
2014-12-17 23:54:54
阅读次数:
193