码迷,mamicode.com
首页 >  
搜索关键字:st    ( 5888个结果
java将一个或者多个空格进行分割
public static void main(String[] args) { String s = "GET /index.html HTTP/1.1";//字符串s由“GET”、“/index.html”和“HTTP/1.1”组成,中间有一个或多个空格 St...
分类:编程语言   时间:2014-11-25 16:15:46    阅读次数:231
文件名称排序
第一次写博客练习下1 定义个文件比较类 public class FilesNameComparerClass :IComparer { [DllImport("shlwapi.dll", CharSet = CharSet.Unicode)] private st...
分类:编程语言   时间:2014-11-25 16:07:27    阅读次数:192
Codeforces Round #278 (Div. 2) c
/** ?*?@brief?Codeforces?Round?#278?(Div.?2)?c ?*?@file?c.c ?*?@author?面码 ?*?@created?2014/11/25?14:15 ?*?@edited??2014/11/25?14:15 ?*?@type?brute ?* ?*/ #include?<st...
分类:其他好文   时间:2014-11-25 14:39:53    阅读次数:150
JAVA 多态只针对方法 不针对属性
1 多态是只针对方法,而不是属性的,但是写法上,子类重写父类的属性,编译器是不会报错的class Person{ String name = "person" ; public void shout(){ System.out.println(name); }}class St...
分类:编程语言   时间:2014-11-25 12:38:01    阅读次数:517
[再寄小读者之数学篇](2014-11-24 积分中值定理)
积分第一中值定理. 若 $f$ 在 $[a,b]$ 上连续, 则 $$\bex \exists\ \xi\in (a,b),\st \int_a^b f(x)\rd x=f(\xi)(b-a). \eex$$
分类:其他好文   时间:2014-11-25 12:09:05    阅读次数:90
BZOJ 2464 中山市选 2009 小明的游戏 最短路
题目大意:给出一个地图,如果经过两个不同的区块,需要花费1,否则不需要花费。问从st到ed最小需要花费多少。 思路:签到题。 #include #include #include #include #include #define MAX 510 #define MAXP 250010 #define MAXE 2000010 using namespace std;...
分类:其他好文   时间:2014-11-25 10:49:17    阅读次数:165
[leetcode] 16. Add Binary
这个题目相对有点奇怪,题目如下: Given two binary strings, return their sum (also a binary string). For example, a = "11" b = "1" Return "100". 可能是我思路的问题吧,我之前是在考虑先将st...
分类:其他好文   时间:2014-11-25 00:01:55    阅读次数:180
[OC Foundation框架 - 2] NSString 的创建
A. 不可变字符串 1 void stringCreate() 2 { 3 //Don't need to release memory by this way 4 NSString *str1 = @"String Sample"; 5 6 NSString *st...
分类:其他好文   时间:2014-11-24 20:34:14    阅读次数:175
关于完整解答Leo C.W博客中名为“我们公司的ASP.NET 笔试题,你觉得难度如何”的所有题目
第1到3题解答如下: public enum QuestionType { Text = 0, MultipleChoice = 1 } public interface IQuestion { st...
分类:Web程序   时间:2014-11-24 13:25:35    阅读次数:300
关于静态数据成员的简单却容易出错的小程序
1 #include "iostream" 2 using namespace std; 3 class complex //声明complex类 4 { 5 public: 6 complex(); 7 void display(); 8 private: 9 st...
分类:其他好文   时间:2014-11-24 11:22:42    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!