摘要:题目链接: 拍照 Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description 小明在旅游的路上看到了一条美丽的河,河上有许多船只,有的船只向左航行,有的船只向
阅读全文
摘要:题目链接: C. Vasya and String time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per
阅读全文
摘要:题目链接: B. Pyramid of Glasses time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit pe
阅读全文
摘要:题目链接: A. Nicholas and Permutation time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time li
阅读全文
摘要:题目链接: Desert Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Problem Description A tourist gets lost in the desert wi
阅读全文
摘要:题目链接: Problem B Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description 度熊面前有一个全是由1构成的字符串,被称为全1序列。你可以合并任意
阅读全文
摘要:题目链接: 区间交 Problem Description 小A有一个含有n个非负整数的数列与mm个区间。每个区间可以表示为li,ri。 它想选择其中k个区间, 使得这些区间的交的那些位置所对应的数的和最大。 例如样例中,选择[2,5]与[4,5]两个区间就可以啦。 Problem De
阅读全文
摘要:题目链接: 中位数计数 Problem Description 中位数定义为所有值从小到大排序后排在正中间的那个数,如果值有偶数个,通常取最中间的两个数值的平均数作为中位数。 现在有nn个数,每个数都是独一无二的,求出每个数在多少个包含其的区间中是中位数。 Problem Description 中
阅读全文
摘要:题目链接: 瞬间移动 Problem Description 有一个无限大的矩形,初始时你在左上角(即第一行第一列),每次你都可以选择一个右下方格子,并瞬移过去(如从下图中的红色格子能直接瞬移到蓝色格子),求到第nn行第mm列的格子有几种方案,答案对1000000007取模。 Problem Des
阅读全文
摘要:题目链接: BD String Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description 众所周知,度度熊喜欢的字符只有两个:B和D。今天,它发明了一种用B
阅读全文
摘要:题目链接: Gym Class Time Limit: 6000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description 众所周知,度度熊喜欢各类体育活动。今天,它终于当上了梦寐以求的体育
阅读全文
摘要:题目链接: All X Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description F(x,m) 代表一个全是由数字x组成的m位数字。请计算,以下式子是否成立
阅读全文
摘要:题目链接: C. Money Transfers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per t
阅读全文
摘要:题目链接: E. Trains and Statistic time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit
阅读全文
摘要:题目链接: D. Tree Construction D. Tree Construction time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard
阅读全文
摘要:题目链接: B. Restoring Painting time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit pe
阅读全文
摘要:题目链接: A. Infinite Sequence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per
阅读全文
摘要:题目链接: zxa and xor Time Limit: 16000/8000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description zxa had a great interest in ex
阅读全文
摘要:题目链接: zxa and wifi Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description zxa went to Q town as a volunt
阅读全文
摘要:题目链接: zxa and set Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description zxa has a set A={a1,a2,⋯,an}, w
阅读全文
摘要:题目链接: D. Robin Hood time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test 1
阅读全文
摘要:题目链接: C. Recycling Bottles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit pe
阅读全文
摘要:题目链接: B. Different is Good time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit pe
阅读全文
摘要:题目链接: A. Summer Camp time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test
阅读全文
摘要:题目链接: Drainage Ditches Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 67475 Accepted: 26075 Description Every time it rains on Farmer John
阅读全文
摘要:题目链接: World Exhibition Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Nowadays, many people want
阅读全文
摘要:题目链接: Intervals Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 24379 Accepted: 9274 Description You are given n closed, integer intervals
阅读全文
摘要:题目链接: 一个人的旅行 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description 虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~)
阅读全文
摘要:题目链接: D. Bear and Two Paths time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit p
阅读全文
摘要:题目链接: C. Bear and Colors time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per
阅读全文
摘要:题目链接: B. Problems for Round time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit p
阅读全文
摘要:题目链接: A. Bear and Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per te
阅读全文
摘要:题目链接: Bomb Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others) Problem Description The counter-terrorists found a time b
阅读全文
摘要:I. GZP and CS GZP love to play Counter-Strike(CS). One day GZP was playing a mod of CS. The counter-terrorists found a time bomb in the dust. But this
阅读全文
摘要:F. GZP and Poker GZP often plays games with his friends.Today they went to a board game.There are n players(including GZP) and all of them have some v
阅读全文
摘要:题目链接: C. Mashmokh and Reverse Operation time limit per test 4 seconds memory limit per test 512 megabytes input standard input output standard output
阅读全文
摘要:题目链接: A. Mashmokh and Numbers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit
阅读全文
摘要:题目链接: B. Mashmokh and ACM time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per
阅读全文
摘要:题目链接: E. Beautiful Subarrays time limit per test 3 seconds memory limit per test 512 megabytes input standard input output standard output time limit
阅读全文
摘要:题目链接: D. World Tour time limit per test 5 seconds memory limit per test 512 megabytes input standard input output standard output time limit per test
阅读全文
摘要:题目链接: C. Reberland Linguistics time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit
阅读全文
摘要:题目链接: B. Coat of Anticubism time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit pe
阅读全文
摘要:题目链接: A. Pouring Rain time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output time limit per test
阅读全文
摘要:题目链接: Intersection Time Limit: 4000/4000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Problem Description Matt is a big fan of logo de
阅读全文