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 阅读(2952) 评论(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 阅读(322) 评论(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 阅读(340) 评论(0) 推荐(0)
摘要:public class DistributeDao implements Serializable{ private SessionFactory sessionFactory; public Session getSession() { return s... 阅读全文
posted @ 2015-06-18 23:32 hjzqyx 阅读(5542) 评论(0) 推荐(0)
摘要:Hibernate主键生成策略:http://www.cnblogs.com/flyoung2008/articles/2165759.html一般自增主键(Integer)映射方式: String(字符串)为主键的映射方式: 阅读全文
posted @ 2015-06-18 00:26 hjzqyx 阅读(210) 评论(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 阅读(415) 评论(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 阅读(1778) 评论(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 阅读(549) 评论(0) 推荐(0)