09 2023 档案

该文被密码保护。
posted @ 2023-09-30 23:05 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2023-09-30 21:20 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2023-09-29 14:43 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑
摘要:题目描述 You're going to generate an array a with a length of at most n , where each ai equals either 1 or 1 . You generate this a 阅读全文
posted @ 2023-09-25 11:37 灰鲭鲨 阅读(21) 评论(0) 推荐(0) 编辑
摘要:题目描述 Steve Rogers is fascinated with new vibranium shields S.H.I.E.L.D gave him. They're all uncolored. There are n shields in total, the i -t 阅读全文
posted @ 2023-09-25 11:22 灰鲭鲨 阅读(12) 评论(0) 推荐(0) 编辑
摘要:Problem StatementSnuke runs a bakery. He is planning for the next N days. Let us call these days Day 1,2,,N. At the moment, the bakery hires 阅读全文
posted @ 2023-09-25 11:10 灰鲭鲨 阅读(17) 评论(0) 推荐(0) 编辑
摘要:最大权闭合子图 建网络流图,原图的边流量 。设点权为 vi,那么对于 vi<0 向汇点连流量 vi。对于 vi>0,向源点连 vi。设 s=vi>0vi,网络流流量 c,最大权闭合子图 \(s- 阅读全文
posted @ 2023-09-25 10:58 灰鲭鲨 阅读(15) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2023-09-25 10:28 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given an integer sequence of length N: A1,A2,...,AN. Let us perform Q operations in order. The i-th operation is d 阅读全文
posted @ 2023-09-22 20:50 灰鲭鲨 阅读(8) 评论(0) 推荐(0) 编辑
摘要:This is a harder version of the problem. In this version, n7.Marek is working hard on creating strong test cases to his new algorithmic probl 阅读全文
posted @ 2023-09-22 20:35 灰鲭鲨 阅读(65) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere is a tree with N vertices numbered 1 to N. The i-th edge connects vertices Ai and Bi. Let us keep performing the 阅读全文
posted @ 2023-09-22 20:06 灰鲭鲨 阅读(31) 评论(0) 推荐(0) 编辑
摘要:Problem StatementFor an integer sequence X=(X1,X2,,Xn), let X[L,R] denote the integer sequence (XL,XL+1,,XR). You are given 阅读全文
posted @ 2023-09-22 19:56 灰鲭鲨 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Problem StatementWe have a grid with N rows and M columns. We denote by (i,j) the cell in the i-th row from the top and j-th column from the 阅读全文
posted @ 2023-09-22 19:35 灰鲭鲨 阅读(39) 评论(0) 推荐(0) 编辑
摘要:题目描述 A wireless sensor network consists of autonomous sensors scattered in an environment where they monitor conditions such as temperature, sound, an 阅读全文
posted @ 2023-09-17 21:46 灰鲭鲨 阅读(11) 评论(0) 推荐(0) 编辑
摘要:题目描述 This is the hard version of this problem. The only difference is the limit of n - the length of the input string. In this version, $ 1 \leq n 阅读全文
posted @ 2023-09-17 21:07 灰鲭鲨 阅读(16) 评论(0) 推荐(0) 编辑
摘要:定义: (nm)=n!m!(nm)! 拆开后常用多项式科技优化 杨辉三角: (nm)=(n1m)+(n1m1) 常用于求复杂组合数式子的递推式。 上指标求和: \(\sum\limits_{i= 阅读全文
posted @ 2023-09-17 18:41 灰鲭鲨 阅读(65) 评论(0) 推荐(0) 编辑
摘要:Recently George is preparing for the Graduate Record Examinations (GRE for short). Obviously the most important thing is reciting the words. Now Georg 阅读全文
posted @ 2023-09-09 17:41 灰鲭鲨 阅读(9) 评论(0) 推荐(0) 编辑
摘要:Now Coach Pang is preparing for the Graduate Record Examinations as George did in 2011. At each day, Coach Pang can: "+w": learn a word w "?\( 阅读全文
posted @ 2023-09-09 17:19 灰鲭鲨 阅读(5) 评论(0) 推荐(0) 编辑
摘要:Since you are a good friend of Jaber and Eyad, they are asking for your help to solve this problem. You are given a graph consisting of n nodes, w 阅读全文
posted @ 2023-09-09 16:39 灰鲭鲨 阅读(7) 评论(0) 推荐(0) 编辑
摘要:Problem StatementSnuke got positive integers s1,...,sN from his mother, as a birthday present. There may be duplicate elements. He will circle som 阅读全文
posted @ 2023-09-09 16:09 灰鲭鲨 阅读(11) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 C 国是一个繁荣昌盛的国家,它由 n 座城市和 m 条有向道路组成,城市从 1n 编号。如果从 x 号城市出发,经过若干条道路后能到达 y 号城市,那么我们称 x 号城市可到达 y 号城市,记作 xy。C 国的道路有一 阅读全文
posted @ 2023-09-05 11:50 灰鲭鲨 阅读(15) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 Sam changed his school and on the first biology lesson he got a very interesting task about genes. You are given n arrays, the i -th o 阅读全文
posted @ 2023-09-04 16:45 灰鲭鲨 阅读(14) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 On a permutation p of length n , we define a bully swap as follows: - Let i be the index of the largest element pi such that 阅读全文
posted @ 2023-09-04 16:31 灰鲭鲨 阅读(21) 评论(0) 推荐(0) 编辑
摘要:# [THUPC2022 决赛] rsraogps ## 题目描述 给序列 a1,,anb1,,bnc1,,cn, 定义区间 [l,r] 的价值为 al,,ar 按位与,bl,,br 按位或,$c_l, 阅读全文
posted @ 2023-09-04 16:25 灰鲭鲨 阅读(27) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 You are given an array A of length N weights of masses A1 , A2 ... AN . No two weights have the same mass. You can put 阅读全文
posted @ 2023-09-04 16:03 灰鲭鲨 阅读(12) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 You are given a tree with n nodes. For each node, you either color it in 0 or 1 . The value of a path (u,v) is equal to the ME 阅读全文
posted @ 2023-09-04 15:53 灰鲭鲨 阅读(20) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 Michael and Brian are stuck in a hotel with n rooms, numbered from 1 to n , and need to find each other. But this hotel's doors ar 阅读全文
posted @ 2023-09-04 15:31 灰鲭鲨 阅读(6) 评论(0) 推荐(0) 编辑
摘要:## 题目描述 You have a set S of n distinct integers between 1 and m . Each second you do the following steps: 1. Pick an element x in 阅读全文
posted @ 2023-09-04 15:12 灰鲭鲨 阅读(37) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere is a grid with N rows and M columns. The square at the i-th row from the top and the j-th column from the left contains 阅读全文
posted @ 2023-09-04 10:36 灰鲭鲨 阅读(41) 评论(0) 推荐(1) 编辑
摘要:Problem StatementYou are given a simple connected undirected graph G with N vertices and M edges. The vertices and edges of G are numbered as 阅读全文
posted @ 2023-09-04 10:28 灰鲭鲨 阅读(18) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2023-09-01 14:37 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2023-09-01 14:32 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2023-09-01 13:23 灰鲭鲨 阅读(0) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示