原创 hdu 1387 Team Queue(隊列)
Team Queue Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20
原创 Spring 中的no Session錯誤
HTTP Status 500 - Could not write content: could not initialize proxy - no Session 原因:EntityManager提前關閉了 解決方案:在web.xml中
原创 java 實現 JDBCUtil連接mysql8.0.15
1.通過單例實現提供jdbc的連接和流關閉 package cn.itsource.util; import java.sql.Connection; import java.sql.DriverManager; import jav
原创 Dom4j解析xml之增刪改查
xml文件內容: <?xml version="1.0" encoding="UTF-8"?> <class> <student> <name>李明</name> <age>25</age> </student
原创 JDBC連接MySQL8.0.15
mysql8.0.15的jre下載地址:https://dev.mysql.com/downloads/file/?id=484819 package cn.itsorce.jdbc; import java.sql.Connecti
原创 Spring 中 No serializer found for class問題
HTTP Status 500 - Could not write content: No serializer found for class org.hibernate.proxy.pojo.javassist.JavassistLa
原创 【Codeforces Round #384 (Div.2)】(A,B,C)
A. Vladik and flights time limit per test 2 seconds memory limit per test 256 megabytes input standard input
原创 【Codeforces Round #402 (Div. 2) 】(A,B,C,D )
A. Pupils Redistribution time limit per test 1 second memory limit per test 256 megabytes input standard input
原创 【Codeforces Round #383 (Div. 2)】 (A,B,C)
A. Arpa’s hard exam and Mehrdad’s naive cheat time limit per test 1 second memory limit per test 256 megabytes i
原创 玲瓏學院 1050 - array--dp
1050 - array Time Limit:3s Memory Limit:64MByte Submissions:474Solved:144 DESCRIPTION 2 array is an array,
原创 POJ 3009 Curling 2.0(DFS)
Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 20039 Accepted: 8185 Description On Planet MM-21,
原创 POJ 3669 Meteor Shower(BFS)
Meteor Shower Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18203 Accepted: 4735 Description Bessi
原创 hdu 1568 Fibonacci(斐波那契數列)
Fibonacci Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 493
原创 “玲瓏杯”ACM比賽 Round #4 A -- chess play
A -- chess play Bob has a n×mn×m chessboard, which has two kinds of chess pieces.one is black, and the other is
原创 “玲瓏杯”ACM比賽 Round #4 G -- See car
G -- See car Time Limit:2s Memory Limit:64MByt DESCRIPTION You are the god of cars, standing at (a, b) point