码迷,mamicode.com
首页 >  
搜索关键字:strings exp    ( 12573个结果
语法的省略不能造成编译器的歧义
package exp { object Main { def main(args: Array[String]): Unit = { B[String].say("hello"); //B[String]后的括号可以省略,编译器知道这不是要用类型B而是要...
分类:其他好文   时间:2014-04-29 22:15:21    阅读次数:500
POJ 3356 AGTC(DP-最小编辑距离)
DescriptionLetxandybe two strings over some finite alphabetA. We would like to transformxintoyallowing only operations given below:Deletion:a letter i...
分类:其他好文   时间:2014-04-29 16:22:00    阅读次数:450
[leetcode] Add Binary
Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".给定两个二进制的字符串,返回他们的和。对于a,b两个二进制字符串,首先通过交换使a的长度小于b...
分类:其他好文   时间:2014-04-28 02:05:20    阅读次数:502
12573条   上一页 1 ... 1256 1257 1258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!