这道题巨坑啊,样例中以-1结束输入的,所以我就天真的以为测试数据也是以-1结束输入的其实人家原文中说:Input is terminated by a line containing a negative integer.是以负数结束输入,囧rz!我这种英语渣渣,怎么可能注意到这种错误我还以为是算法...
分类:
其他好文 时间:
2014-08-25 20:42:44
阅读次数:
298
一、 有图有真相二、实现:1.基于ListView分类效果2. TitleView即标题的处理(创建)3. 处理TitleView的三种状态三、源码:例子下载实现可以看代码,具体描述以后再添加。转载请注明出处:http://blog.csdn.net/love_world_/article/deta...
分类:
移动开发 时间:
2014-08-25 16:54:14
阅读次数:
261
vi hello.py#!/usr/bin/env pythonprint "hello world!"while True: print("hello world!")python(进入python)import hello(导入hello模块)会生成pyc文件,编译器产生的文件,用c语言继续执行...
分类:
编程语言 时间:
2014-08-25 14:43:54
阅读次数:
282
preface statement: manageing OpenStack & SoftLayer resource with Jumpgate1,forward;Imagine a world of interconnected Cloudscapable discovering, coordi...
分类:
其他好文 时间:
2014-08-25 14:34:44
阅读次数:
273
楼主发表于: 2011-01-14 15:39:55#include int main(void){ int i; char a[5]; scanf("%s", a); printf("%s\n", a); return 0;}运行输入hello world 回...
分类:
编程语言 时间:
2014-08-25 13:20:34
阅读次数:
212
Description
Japan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M <= ...
分类:
其他好文 时间:
2014-08-24 23:54:53
阅读次数:
263
本文主要简单介绍了利用poi包,读取world文件内容。 这个依然存在版本的问题,只能读取doc结尾的老版本文件。 话不多说,上代码: 1 import java.io.File; 2 import java.io.FileInputStream; 3 4 import org.apach...
分类:
编程语言 时间:
2014-08-24 22:11:13
阅读次数:
284
原创地址: http://www.cnblogs.com/Alandre/ (泥沙砖瓦浆木匠),须要转载的,保留下! Thanks Although the world is full of suffering , it is full also of the overcoming of it. -...
分类:
编程语言 时间:
2014-08-24 11:32:12
阅读次数:
241
def hello # A nice simple method puts "Hello World" # Suppose we want to augment it...end alias original_hello hello # Give the method a backup named....
分类:
其他好文 时间:
2014-08-24 10:17:32
阅读次数:
167