摘要: A - WatermelonCrawling in process...Crawling failedTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionOne hot summer day Pete and his friend Billy decided to buy a watermelon. They chose the biggest and the ripest one, in their opinion. After that the waterm 阅读全文
posted @ 2012-11-30 20:20 java程序员-c 阅读(904) 评论(0) 推荐(0) 编辑
摘要: Get Many Persimmon TreesTime Limit:1000MSMemory Limit:30000KTotal Submissions:2821Accepted:1836DescriptionSeiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order to reward him for his meritorious career in education, Kat 阅读全文
posted @ 2012-11-30 14:34 java程序员-c 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 一、克隆一个对象private object CloneObject(object o) { Type t =o.GetType(); PropertyInfo[] properties =t.GetProperties(); Object p =t.InvokeMember("", System.Reflection.BindingFlags.CreateInstance, null, o, null); foreach(PropertyInfo pi in properties) { if(pi.CanWrite) {... 阅读全文
posted @ 2012-11-30 11:56 java程序员-c 阅读(236) 评论(0) 推荐(0) 编辑