摘要: 2597 团伙 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题解 查看运行结果 2597 团伙 2597 团伙 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄 阅读全文
posted @ 2016-07-26 16:47 神犇(shenben) 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 3505: [Cqoi2014]数三角形 codevs3693 数三角形同题:http://codevs.cn/problem/3693/ Description 给定一个nxm的网格,请计算三点都在格点上的三角形共有多少个。下图为4x4的网格上的一个三角形。 注意三角形的三点不能共线。 给定一个n 阅读全文
posted @ 2016-07-26 16:19 神犇(shenben) 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1441: Min Description 给出n个数(A1...An)现求一组整数序列(X1...Xn)使得S=A1*X1+...An*Xn>0,且S的值最小 Input 第一行给出数字N,代表有N个数 下面一行给出N个数 Output S的最小值 Sample Input 2 4059 -178 阅读全文
posted @ 2016-07-26 16:03 神犇(shenben) 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 评测地址:http://acm.hust.edu.cn/vjudge/problem/41990 1 The i'th Fibonacci number f (i) is recursively de ned in the following way: 2 3 f (0) = 0 and f (1) 阅读全文
posted @ 2016-07-26 15:44 神犇(shenben) 阅读(495) 评论(1) 推荐(0) 编辑