输出:Console.Write("hello");换行输出:Console.WriteLine("hello");获取输入的值:Console.ReadLine()控制台不关闭:Console.ReadKey();占位符:Console.WriteLine("Sum:{1} Minus:{0} R...
分类:
其他好文 时间:
2014-07-31 09:35:45
阅读次数:
217
数位DP。。。。
Palindromic Numbers
Time Limit: 2000MS
Memory Limit: 32768KB
64bit IO Format: %lld & %llu
[Submit] [Go Back] [Status]
Description
A palindro...
分类:
其他好文 时间:
2014-07-31 03:04:56
阅读次数:
247
题目:Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identica....
分类:
编程语言 时间:
2014-07-31 02:24:15
阅读次数:
211
Round Numbers
Time Limit: 2000MS
Memory Limit: 65536KB
64bit IO Format: %I64d & %I64u
[Submit] [Go Back]
[Status]
Description
The cows, as you know, have no...
分类:
其他好文 时间:
2014-07-31 00:08:55
阅读次数:
350
创建文件并写入内容StreamWriter sw = new StreamWriter(url, “false 覆盖,true 追加”, Encoding.UTF8);sw.Write(“内容”);sw.Close();读取文件内容FileInfo info = new FileInfo("路径")...
分类:
其他好文 时间:
2014-07-30 20:13:34
阅读次数:
234
查天气、找美食、玩游戏、买电影票、网上购物……安装APP后,手机变成“百事通”。不过,智能手机越来越“聪明”,也越来越不安全,病毒感染、垃圾短信、隐私泄露等关乎手机用户切身利益的问题频发。保护手机安全,不仅需要用户到正规官网下载APP,更重要的是开发者要做好APK安全保护工作。 http://write.blog.csdn.net/postedit...
分类:
其他好文 时间:
2014-07-30 17:37:44
阅读次数:
268
1 /* 2 * (1). 文件字符输入,输出流 3 * 文件字节输入,输出流的read和write方法使用 4 * 字节数组读写数据,即以字节为单位处理数据,因此,字节流不能很好的操作Unicode字符 5 * ,比如,一个汉字在文件中占用2个字节,如...
分类:
编程语言 时间:
2014-07-30 00:51:12
阅读次数:
278
最近为支付宝忙破了脑袋,以下是我终于成功后的经验以供参考 首先你得先去支付宝官网上下一个code,以供参考. 在配置时尽量不要改动文件,把需要的那几个文件(app_code,imageslog)直接放在你的项目里面,然后在建同步回传页面(call_back_url),异步回传页面(notify_.....
分类:
移动开发 时间:
2014-07-30 00:39:52
阅读次数:
291
Problem Description
Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands i...
分类:
其他好文 时间:
2014-07-29 22:05:32
阅读次数:
390
今天遇到这样一个问题,我在Activity-A中用startActivityForResult()方法启动了Activity-B,并且在B中通过setResult()方法给A返回值,由于某些原因不能在setResult()之后立刻调用finish()函数,只能通过用户按Back键自己退出到A。按.....
分类:
其他好文 时间:
2014-07-29 20:39:42
阅读次数:
294