"链接" 背景 这题其实是 " $a^\wedge b$ , $AcWing89/CH0101$ " 的原版, " $ACM ICPC$ $Czech$ $Technical$ $University$ $Open$ $Contest$ $1999$ $D$题, $POJ1995$ " 。 题意 给 ...
分类:
其他好文 时间:
2019-10-05 18:40:24
阅读次数:
92
// poj 2186 http://poj.org/problem?id=2186 ...
分类:
其他好文 时间:
2019-10-05 18:00:41
阅读次数:
122
Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains K asteroids ...
分类:
其他好文 时间:
2019-10-05 14:45:48
阅读次数:
107
Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he h ...
分类:
其他好文 时间:
2019-10-05 14:16:24
阅读次数:
167
原题链接:http://poj.org/problem?id=3468 题意:给定长度为n的数列A,执行两种操作:1.把l~r个数都加d;2.询问数列中l~r个数的和。 代码: (见[算法进阶指南]P217) ...
分类:
其他好文 时间:
2019-10-05 10:37:25
阅读次数:
97
// 带飞网址 https://vjudge.net/article/187 专题七 线段树 HDU 1166 敌兵布阵HDU 1754 I Hate It√ POJ 3468 A Simple Problem with IntegersPOJ 2528 Mayor's postersHDU 169 ...
分类:
其他好文 时间:
2019-10-05 10:31:20
阅读次数:
136
Mybatis是一个基于java的持久层框架(半自动化的ORM框架)。 持久化:数据从瞬时状态变为持久状态。 持久层:完成持久化工作的代码块。 mybatis-config.xml配置文件: mapper.xml文件: User类 测试类: 配置文件的优化 jdbc.properties配置文件: ...
分类:
其他好文 时间:
2019-10-04 20:47:53
阅读次数:
78
题目链接:https://vjudge.net/problem/POJ-2187 旋转卡壳模板题。参考了hzwer(http://hzwer.com/4224.html) 1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #inc ...
分类:
其他好文 时间:
2019-10-04 18:55:01
阅读次数:
73
(昨天开训练赛,签到扫描线卡了三小时。wsl。 1. 矩形周长并 hdoj1828 / poj1177 传送:http://acm.hdu.edu.cn/showproblem.php?pid=1828 1 #include<iostream> 2 #include<cstdio> 3 #inclu ...
分类:
编程语言 时间:
2019-10-04 16:59:36
阅读次数:
81
题意是给你一块在原点半径为10的圆,然后告诉你一条直线在圆弧上的极角,相当于用这条直线把这个圆分成两半,然后一共是n条直线切圆,就好比切蛋糕,问你其中最大一块的面积是多少。 如果我们将圆弧转化成直线边,那么这个题就变成PSLG裸题,但是这里是圆弧,所以我们需要将其转化。 我先将所有在圆上的点记录下来 ...
分类:
其他好文 时间:
2019-10-04 16:54:02
阅读次数:
70