题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2577解题报告:有一个长度在100以内的字符串,并且这个字符串只有大写和小写字母组成,现在要把这些字符串用键盘输入到电脑中,一开始的时候大写锁定是关闭的,并且要求结束的时候也是关闭的,然后让你求输入这些字...
分类:
其他好文 时间:
2014-04-29 19:16:47
阅读次数:
670
XML序列化是将对象的公共属性和字段转换为XML格式,以便存储或传输的过程。反序列化则是从XML输出中重新创建原始状态的对象。XML序列化中最主要的类是XmlSerializer类。它的最重要的方法是Serialize和Deserialize方法,它位于System.Xml.Serializat.....
分类:
其他好文 时间:
2014-04-29 18:53:14
阅读次数:
629
2014-04-28
22:18题目:计算N的阶乘尾巴上有多少个零?解法:计算5的个数即可,因为2 * 5 = 10,2的个数肯定比5多。计算5的个数可以在对数时间内搞定。代码: 1
// 17.3 Count how many zeros are there in n!? 2 // Count t...
分类:
其他好文 时间:
2014-04-29 17:45:30
阅读次数:
365
使用Runtime的addShutdownHook(thread)方法: 1 for(int
i=0; i<5; i++){ 2 System.out.println(i); 3 } 4 5 Thread th...
分类:
其他好文 时间:
2014-04-29 17:22:47
阅读次数:
311
Abstract Introduction::
Bigtable设计主旨:可扩地扩展到pByte级别和数千台机器的系统, 通用、可伸缩、高性能、高可用性。
不实现完整的关系数据模型,而是支持一个可以动态控制,允许用户自解释数据属性; 用户甚至可以指定数据(使用时)是存在内存中还是磁盘中; 支持row...
分类:
其他好文 时间:
2014-04-29 15:40:01
阅读次数:
613
Client Side Pagination - jQuery EasyUI Demo Client
Side Pagination ddf Start This sample shows how to implement client side
pagina...
分类:
其他好文 时间:
2014-04-29 15:14:24
阅读次数:
586
Cover with polyethylene plastic film intended
for system United States Postal Service . These plastic envelopes are resistant
to puncture and tear, wa...
分类:
数据库 时间:
2014-04-29 10:11:47
阅读次数:
568
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows;using Sys...
分类:
其他好文 时间:
2014-04-29 09:25:47
阅读次数:
415
1.调用widnows资源管理器打开文件夹 private void
OpenFolder(string folder) { System.Diagnostics.Process.Start("explorer.exe",
folder); ...
分类:
其他好文 时间:
2014-04-29 09:24:46
阅读次数:
406
WPF调用WinForm中的 OpenFileDialog 和 FolderBrowserDialog
来实现响应的功能对应的引用程序集:using System.Windows.Forms; OpenFileDialog openFileDialog = new
OpenFileDialog();...
分类:
其他好文 时间:
2014-04-29 09:24:45
阅读次数:
404