2020年5月29日

4912: 炮兵阵地

摘要: 描述 司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也可能是平原(用"P"表示),如下图。在每一格平原地形上最多可以布置一支炮兵部队(山地上不能够部署炮兵部队);一支炮兵部队在地图上的攻击范围如图中黑色区域所示: 阅读全文

posted @ 2020-05-29 12:53 还是力量不够 阅读(259) 评论(0) 推荐(0) 编辑

2020年5月28日

2821: Dream City

摘要: 描述 JAVAMAN is visiting Dream City and he sees a yard of gold coin trees. There are n trees in the yard. Let's call them tree 1, tree 2 ...and tree n. 阅读全文

posted @ 2020-05-28 13:03 还是力量不够 阅读(153) 评论(0) 推荐(0) 编辑

2020年5月22日

计算几何:TZOJ凸包练习

摘要: 目录 1255 1471 2946 3100 5071 1255: Surround the Trees 返回顶部 描述 There are a lot of trees in an area. A peasant wants to buy a rope to surround all these 阅读全文

posted @ 2020-05-22 10:27 还是力量不够 阅读(312) 评论(0) 推荐(0) 编辑

2020年5月20日

线段相交模板

摘要: const double eps=1e-8; struct point{ double x,y; void input(){ scanf("%lf%lf",&x,&y); } }; struct segment{ point a,b; void input(){ a.input(); b.input 阅读全文

posted @ 2020-05-20 13:11 还是力量不够 阅读(164) 评论(0) 推荐(0) 编辑

2020年5月18日

TZOJ 2462: Ferry Loading III

摘要: 描述 Before bridges were common, ferries were used to transport cars across rivers. River ferries, unlike their larger cousins, run on a guide line and 阅读全文

posted @ 2020-05-18 13:17 还是力量不够 阅读(212) 评论(0) 推荐(0) 编辑

2020年5月15日

图论:TZOJ二分图练习

摘要: 目录 1023 1037 1321 2021 2380 2733 3635 5839 5840 5842 1023: Taxi Cab Scheme 返回顶部 描述 Running a taxi station is not all that simple. Apart from the obvio 阅读全文

posted @ 2020-05-15 21:35 还是力量不够 阅读(294) 评论(0) 推荐(0) 编辑

2020年5月14日

挑战题库随机训练12

摘要: 目录 4786 5474 6108 2939 3605 4105 1675 3826 1142 4949 4786: 神经网络 返回顶部 描述 【问题背景】 人工神经网络(Artificial Neural Network)是一种新兴的具有自我学习能力的计算系统,在模式识别、函数逼近及贷款风险评估等 阅读全文

posted @ 2020-05-14 22:29 还是力量不够 阅读(348) 评论(0) 推荐(0) 编辑

2020年5月7日

TZOJ 3389: Rankings

摘要: 3389: Rankings 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte总提交: 32 测试通过:16 描述 There are n teams (labelled from 1 to n) who take part in a programming c 阅读全文

posted @ 2020-05-07 20:30 还是力量不够 阅读(140) 评论(0) 推荐(0) 编辑

TZOJ 5113: Starry Night

摘要: 5113: Starry Night 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte总提交: 3 测试通过:3 描述 High up in the night sky, the shining stars appear in clusters of vario 阅读全文

posted @ 2020-05-07 16:47 还是力量不够 阅读(241) 评论(0) 推荐(0) 编辑

2020年4月29日

TZOJ 4541 回文数列

摘要: 描述 回文数列是一个形如{a1,a2,a3,...,a3,a2,a1}的整数序列。现给定任意一个整数数列 {a1,a2,a3,...,an},请插入个数最少的整数,使其成为一个回文数列。 输入 输入数据有多组,第一行为整数T(t<=30),表示数据组数。每组数据占2行,第1行为整数n(1<=n<=1 阅读全文

posted @ 2020-04-29 16:48 还是力量不够 阅读(345) 评论(0) 推荐(0) 编辑

导航