上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页
摘要: Come Together time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Bob and Carol hanged out w 阅读全文
posted @ 2023-07-12 15:50 o-Sakurajimamai-o 阅读(41) 评论(0) 推荐(0)
摘要: Strong Password time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Monocarp finally got the 阅读全文
posted @ 2023-07-12 15:46 o-Sakurajimamai-o 阅读(79) 评论(0) 推荐(0)
摘要: Apple Tree time limit per test 4 seconds memory limit per test 512 megabytes input standard input output standard output Timofey has an apple tree gro 阅读全文
posted @ 2023-07-11 15:40 o-Sakurajimamai-o 阅读(69) 评论(0) 推荐(0)
摘要: Sum in Binary Tree time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya really likes mat 阅读全文
posted @ 2023-07-11 15:39 o-Sakurajimamai-o 阅读(84) 评论(0) 推荐(0)
摘要: Long Long 题面翻译 题目描述给出一个包含 $n$ 个数字的数列 $a$。你可以执行任意次操作,每次操作可以更改 [l, r] 范围内的正负性(正数变负,负数变正,0 不变)。你要使得数列每个元素之和尽量大,问最小的操作次数。 多组询问。 输入格式第一行一个整数 $T$,表示询问组数。 每一 阅读全文
posted @ 2023-07-11 15:36 o-Sakurajimamai-o 阅读(48) 评论(0) 推荐(0)
摘要: Lamps 题面翻译 有 $n$ 盏灯,每盏灯有不亮,亮,坏掉 3 种状态。一开始每盏灯都不亮。 第 $i$ 盏灯有属性 $a_i,b_i$。每次操作你可以选择一盏灭的灯将其点亮,并得到 $b_i$ 的分数。 每次操作结束后,记有 $x$ 盏灯亮着,则所有 $a_i \le x$ 的灯 $i$ 都会 阅读全文
posted @ 2023-07-10 18:23 o-Sakurajimamai-o 阅读(113) 评论(0) 推荐(0)
摘要: # Contrast Value ## 题面翻译 定义序列 $a_1,a_2,\dots,a_n$ 的权值是$|a_1-a_2|+|a_2-a_3|+\dots+|a_{n-1}-a_n|$。 $T$ 次询问,每次给一个序列 $a$ ,一个 $a$ 的子序列 $b$ 合法当且仅当 $b$ 权值和 $ 阅读全文
posted @ 2023-07-10 18:16 o-Sakurajimamai-o 阅读(32) 评论(0) 推荐(0)
摘要: Maximum Sum time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given an array a1,a2 阅读全文
posted @ 2023-07-10 18:15 o-Sakurajimamai-o 阅读(56) 评论(0) 推荐(0)
摘要: Forever Winter time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A snowflake graph is gene 阅读全文
posted @ 2023-06-30 19:32 o-Sakurajimamai-o 阅读(47) 评论(0) 推荐(0)
摘要: Constructive Problem time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output As you know, any pro 阅读全文
posted @ 2023-06-30 19:29 o-Sakurajimamai-o 阅读(102) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 21 下一页
-- --