- 博客(8)
- 收藏
- 关注
原创 spring+mybatis+springmvc整合项目( IDEA 注解开发)
1.spring+mybatis1.1建立数据库CREATE DATABASE `ssmbuild`;USE `ssmbuild`;DROP TABLE IF EXISTS `books`;CREATE TABLE `books` (`bookID` INT(10) NOT NULL AUTO_INCREMENT COMMENT '书id',`bookName` VARCHAR(100) NOT NULL COMMENT '书名',`bookCounts` INT(11) NOT NULL
2020-06-14 01:33:35
403
原创 hdu 6665 Calabash and Landlord
这个题可以先离散化坐标,然后再把两个正方形的边存一下,然后在6x6的图里面跑一边DFS,能跑到的地方就标记成一个数字。这样就可以把每个地方都染上颜色了。这里最重要的就是判断不能越过边界就是正方形的边。#include <bits/stdc++.h>using namespace std;#define LL long longconst int maxn=100005...
2019-08-16 16:20:05
237
原创 hdu 6638 Snowy Smile
原文链接:https://blog.youkuaiyun.com/wu_tongtong/article/details/73385029线段树的区间最大子段和:线段树需要维护的是:左端点 x右端点 y (本人喜欢直接维护端点)[x,y]内的最大子段和 ms[x,y]的区间和 s[x,y]内的紧靠左端点的最大子段和 ls[x,y]内的紧靠右端点的最大子段和 rs困难就是,...
2019-08-09 16:53:28
204
原创 Gym - 101964E Fishermen
#include <iostream> #include <stdio.h> #include <time.h> #include <queue> #include <string.h> #include <stdlib.h> #include <algorithm> using namespac
2018-11-09 19:48:12
308
原创 UVA1395
#include <iostream>#include <cstdio>#include <string.h>#include <set>#include <algorithm>#include <math.h>using namespace std;int n,m,p[5005];struct node{ ...
2018-07-27 15:02:56
160
原创 字符串的分割 Compound Words UVA 10391
#include <iostream>#include <cstdio>#include <string.h>#include <map>#include <set>#include <algorithm>#include <math.h>#include <queue>#include
2018-07-26 16:38:09
121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人