摘要: 链接:https://ac.nowcoder.com/acm/contest/887/H来源:牛客网 题目描述 Given three integers A, B, C. Count the number of pairs <x ,y> (with 1≤x≤Aand1≤y≤B) such that 阅读全文
posted @ 2019-08-08 23:02 特特w 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Ivan unexpectedly saw a present from one of his previous birthdays. It is array of n numbers from 1 to 200. Array is old and some numbers are har 阅读全文
posted @ 2019-08-07 20:37 特特w 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Li Zhixiang have already been in “Friendship” ocean-going freighter for three months. The excitement has gradually disappeared. He stands on the 阅读全文
posted @ 2019-08-07 20:26 特特w 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Description 一棵树上有n个节点,编号分别为1到n,每个节点都有一个权值w。我们将以下面的形式来要求你对这棵树完成一些操作: I. CHANGE u t : 把结点u的权值改为t II. QMAX u v: 询问从点u到点v的路径上的节点的最大权值 III. QSUM u v: 询问从点u 阅读全文
posted @ 2019-08-03 10:19 特特w 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You ye Jiu yuan is the daughter of the Great GOD Emancipator. And when she becomes an adult, she will be queen of Tusikur, so she wanted to trave 阅读全文
posted @ 2019-08-03 09:22 特特w 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 题目描述 You have an array: a1, a2, , an and you must answer for some queries.For each query, you are given an interval [L, R] and two numbers p and K. Y 阅读全文
posted @ 2019-08-02 09:08 特特w 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Again Alice and Bob is playing a game with stones. There are N piles of stones labelled from 1 to N, the i th pile has ai stones. First Alice wil 阅读全文
posted @ 2019-07-30 10:35 特特w 阅读(359) 评论(0) 推荐(0) 编辑
摘要: Problem Description In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature 阅读全文
posted @ 2019-07-29 10:39 特特w 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Description JSOI交给队员ZYX一个任务,编制一个称之为“文本生成器”的电脑软件:该软件的使用者是一些低幼人群,他们现在使用的是GW文本生成器v6版。该软件可以随机生成一些文章―――总是生成一篇长度固定且完全随机的文章—— 也就是说,生成的文章中每个字节都是完全随机的。如果一篇文章中至 阅读全文
posted @ 2019-07-29 10:23 特特w 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 题目描述 There is an integer sequence a of length n and there are two kinds of operations:0 l r: select some numbers from al...ar so that their xor sum is 阅读全文
posted @ 2019-07-23 21:46 特特w 阅读(346) 评论(0) 推荐(0) 编辑