摘要: 题目描述 You are given a multiset S consisting of positive integers (initially empty). There are two kind of queries: 输入输出格式 输入格式: The first line contains 阅读全文
posted @ 2018-02-26 20:18 蒟蒻JHY 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You are given a graph with nn nodes and mm directed edges. One lowercase letter is assigned to each node. We define a path's value as the number 阅读全文
posted @ 2018-02-26 19:16 蒟蒻JHY 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 题目背景 无 题目描述 数轴上有 n 只青蛙,分别编号为 1 到 n。青蛙 i 的初始位置的坐标为 xi。 它们准备进行如下形式的移动:每轮包括 m 次跳跃,第 i 次跳跃由青蛙 ai(1 < ai < n) 执行。青蛙 ai 会从青蛙 ai − 1 和青蛙 ai + 1 中等概率地选一 只,假设选 阅读全文
posted @ 2018-02-26 18:51 蒟蒻JHY 阅读(338) 评论(0) 推荐(1) 编辑
摘要: 题目描述 在某块平面土地上有N个点,你可以选择其中的任意四个点,将这片土地围起来,当然,你希望这四个点围成的多边形面积最大。 输入输出格式 输入格式: 第1行一个正整数N,接下来N行,每行2个数x,y,表示该点的横坐标和纵坐标。 输出格式: 最大的多边形面积,答案精确到小数点后3位。 输入输出样例 阅读全文
posted @ 2018-02-26 16:53 蒟蒻JHY 阅读(340) 评论(0) 推荐(0) 编辑