06 2015 档案

摘要:原文http://blog.csdn.net/woshixuye/article/details/7734482首先我们有一个Action——UserActionpublic classUserActionextends ActionSupport{ public String add() { re... 阅读全文
posted @ 2015-06-26 20:44 hjzqyx 阅读(2943) 评论(0) 推荐(0) 编辑
摘要:B. Ohana Cleans Up Ohana Matsumae is trying to clean a room, which is divided up into annbyngrid of squares. Each square ... 阅读全文
posted @ 2015-06-26 00:05 hjzqyx 阅读(321) 评论(0) 推荐(0) 编辑
摘要:C. Vanya and ScalesVanya has a scales for weighing loads and weights of massesw0, w1, w2, ..., w100grams wherewis some integer... 阅读全文
posted @ 2015-06-24 18:38 hjzqyx 阅读(335) 评论(0) 推荐(0) 编辑
摘要:public class DistributeDao implements Serializable{ private SessionFactory sessionFactory; public Session getSession() { return s... 阅读全文
posted @ 2015-06-18 23:32 hjzqyx 阅读(5532) 评论(0) 推荐(0) 编辑
摘要:Hibernate主键生成策略:http://www.cnblogs.com/flyoung2008/articles/2165759.html一般自增主键(Integer)映射方式: String(字符串)为主键的映射方式: 阅读全文
posted @ 2015-06-18 00:26 hjzqyx 阅读(208) 评论(0) 推荐(0) 编辑
摘要:B. Preparing OlympiadYou havenproblems. You have estimated the difficulty of thei-th one as integerci. Now you want to... 阅读全文
posted @ 2015-06-14 18:32 hjzqyx 阅读(409) 评论(0) 推荐(0) 编辑
摘要:package com.hzml.serve;import java.io.File;import java.io.IOException;import java.io.PrintWriter;import java.util.*;import javax.servlet.ServletContex... 阅读全文
posted @ 2015-06-14 00:40 hjzqyx 阅读(1769) 评论(0) 推荐(0) 编辑
摘要://首先是Action部分import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.UnsupportedEncodingException;import jav... 阅读全文
posted @ 2015-06-14 00:39 hjzqyx 阅读(548) 评论(0) 推荐(0) 编辑