摘要: 题目: Description Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the ar 阅读全文
posted @ 2019-03-14 10:14 周园顾 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 题目: Description The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villag 阅读全文
posted @ 2019-03-14 00:36 周园顾 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 题目: 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 最近,小Hi很喜欢玩的一款游戏模拟城市开放出了新Mod,在这个Mod中,玩家可以拥有不止一个城市了! 但是,问题也接踵而来——小Hi现在手上拥 阅读全文
posted @ 2019-03-13 21:49 周园顾 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 题目: You are a coach at your local university. There are nn students under your supervision, the programming skill of the ii-th student is aiai. You ha 阅读全文
posted @ 2019-03-13 19:51 周园顾 阅读(570) 评论(0) 推荐(0) 编辑
摘要: 题目: One day, little Vasya found himself in a maze consisting of (n + 1) rooms, numbered from 1 to (n + 1). Initially, Vasya is at the first room and t 阅读全文
posted @ 2019-03-12 00:08 周园顾 阅读(201) 评论(0) 推荐(0) 编辑
摘要: L1-001 Hello World (5 分) 链接:https://pintia.cn/problem-sets/994805046380707840/problems/994805147132084224 代码: #include <iostream> #include <cstdio> #i 阅读全文
posted @ 2019-03-09 18:10 周园顾 阅读(1460) 评论(0) 推荐(0) 编辑
摘要: 题目: Problem Description Given n integers.You have two operations:U A B: replace the Ath number by B. (index counting from 0)Q A B: output the length o 阅读全文
posted @ 2019-03-06 02:15 周园顾 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 题目: Problem Description In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of seve 阅读全文
posted @ 2019-03-03 22:05 周园顾 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 题目: Problem Description Let A1, A2, ... , AN be N elements. You need to deal with two kinds of operations. One type of operation is to add a given num 阅读全文
posted @ 2019-03-03 00:39 周园顾 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 题目: Problem Description 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input 本题目包含多组 阅读全文
posted @ 2019-03-02 13:49 周园顾 阅读(124) 评论(0) 推荐(0) 编辑