09 2022 档案

摘要:Problem StatementThere is a rectangle in the xy-plane. Each edge of this rectangle is parallel to the x- or y-axis, and its area is not zero. Gi 阅读全文
posted @ 2022-09-30 18:59 灰鲭鲨 阅读(127) 评论(0) 推荐(0) 编辑
摘要:section> Problem StatementFrom the point (0,0) in a two-dimensional plane, let us move the distance of 1 toward the point (A,B). Find our coord 阅读全文
posted @ 2022-09-30 18:58 灰鲭鲨 阅读(45) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere are N items in a shop. For each i=1,2,,N, the price of the i-th item is Ai yen (the currency of Japan). Tak 阅读全文
posted @ 2022-09-30 18:55 灰鲭鲨 阅读(64) 评论(0) 推荐(0) 编辑
摘要:Problem StatementGiven an integer N, find the smallest integer X that satisfies all of the conditions below. X is greater than or equal to N. 阅读全文
posted @ 2022-09-30 18:52 灰鲭鲨 阅读(30) 评论(0) 推荐(0) 编辑
摘要:Problem StatementWe have an N×N chessboard. Let (i,j) denote the square at the i-th row from the top and j-th column from the left of 阅读全文
posted @ 2022-09-30 18:46 灰鲭鲨 阅读(18) 评论(0) 推荐(0) 编辑
摘要:Problem StatementWe have a typewriter with N rows. The keys in the i-th row from the top can type the characters in a string Si. Let us use thi 阅读全文
posted @ 2022-09-30 18:42 灰鲭鲨 阅读(75) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere is a rooted tree with N vertices, Vertex 1 being the root. For each i=1,2,,N1, the i-th edge connects Verte 阅读全文
posted @ 2022-09-30 18:35 灰鲭鲨 阅读(27) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a string S of length N consisting of 0, 1, and ?. You are also given Q queries $(x_1, c_1), (x_2, c_2), \ldots, ( 阅读全文
posted @ 2022-09-30 18:14 灰鲭鲨 阅读(28) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a sequence A=(A1,,AN) of length N. Each element is 0, 1, or 2. Process Q queries in order. Each que 阅读全文
posted @ 2022-09-29 22:37 灰鲭鲨 阅读(75) 评论(0) 推荐(0) 编辑
摘要:Problem StatementIn an N-dimensional space, the Manhattan distance d(x,y) between two points x=(x1,x2,,xN) and $y = (y_1, y_2, \dots, 阅读全文
posted @ 2022-09-29 22:25 灰鲭鲨 阅读(35) 评论(0) 推荐(0) 编辑
摘要:Problem StatementTakahashi is at the origin of a two-dimensional plane. Takahashi will repeat teleporting N times. In each teleportation, he makes o 阅读全文
posted @ 2022-09-29 22:13 灰鲭鲨 阅读(136) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere is a sequence A=(A0,,AN1) of length N. Determine if there exists a tuple of integers (x,y,z,w) that satisfies 阅读全文
posted @ 2022-09-29 18:38 灰鲭鲨 阅读(44) 评论(0) 推荐(0) 编辑
摘要:Problem StatementWe have a grid with H horizontal rows and W vertical columns. (i,j) denotes the square at the i-th row from the top and j- 阅读全文
posted @ 2022-09-29 18:32 灰鲭鲨 阅读(57) 评论(0) 推荐(0) 编辑
摘要:Problem StatementTakahashi is exploring a cave in a video game. The cave consists of N rooms arranged in a row. The rooms are numbered Room $1,2,\ld 阅读全文
posted @ 2022-09-29 18:30 灰鲭鲨 阅读(45) 评论(0) 推荐(0) 编辑
摘要:Problem StatementA fruit store sells apples. You may perform the following operations as many times as you want in any order: Buy one apple for X ye 阅读全文
posted @ 2022-09-29 18:27 灰鲭鲨 阅读(68) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given an integer sequence of length N: A=(A1,A2,,AN). You will perform the following consecutive operations just 阅读全文
posted @ 2022-09-27 21:53 灰鲭鲨 阅读(79) 评论(0) 推荐(0) 编辑
摘要:NotesFor two integer sequences of the same length A1,A2,,AN and B1,B2,,BN, A is said to be lexicographically earlier than B if 阅读全文
posted @ 2022-09-27 21:41 灰鲭鲨 阅读(43) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere are N people, called Person 1, Person 2, , Person N. The parent of Person i (2iN) is Person Pi 阅读全文
posted @ 2022-09-27 21:37 灰鲭鲨 阅读(179) 评论(0) 推荐(0) 编辑
摘要:Problem StatementWe have five cards with integers A, B, C, D, and E written on them, one on each card. This set of five cards is called a Fu 阅读全文
posted @ 2022-09-27 21:35 灰鲭鲨 阅读(134) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere are N squares called Square 1 though Square N. You start on Square 1. Each of the squares from Square 1 through Squar 阅读全文
posted @ 2022-09-12 22:19 灰鲭鲨 阅读(43) 评论(0) 推荐(1) 编辑
摘要:Problem StatementThere are integers with N different values written on a blackboard. The i-th value is Ai and is written Bi times. You may r 阅读全文
posted @ 2022-09-12 22:02 灰鲭鲨 阅读(46) 评论(0) 推荐(0) 编辑
摘要:Problem Statement2N people, numbered 1 to 2N, will participate in a rock-paper-scissors tournament. The tournament proceeds as follows: The pa 阅读全文
posted @ 2022-09-12 21:58 灰鲭鲨 阅读(115) 评论(0) 推荐(0) 编辑
摘要:Problem StatementA sport event is held in June of every year whose remainder when divided by 4 is 2. Suppose that it is now January of the year $Y 阅读全文
posted @ 2022-09-11 18:07 灰鲭鲨 阅读(122) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere is an empty sequence X and an empty stack S. Also, you are given an integer sequence A=(a1,,aN) of length N. Fo 阅读全文
posted @ 2022-09-11 18:06 灰鲭鲨 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a simple undirected graph with N vertices and M edges. The vertices are numbered 1,,N, and the i-th $(1 阅读全文
posted @ 2022-09-10 11:44 灰鲭鲨 阅读(76) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a sequence a=(a1,,aN) of length N consisting of integers between 1 and N. Find the number of pairs o 阅读全文
posted @ 2022-09-10 11:05 灰鲭鲨 阅读(114) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a sequence of positive integers A=(a1,,aN) of length N. There are (2N1) ways to choose one or more term 阅读全文
posted @ 2022-09-10 09:38 灰鲭鲨 阅读(30) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a simple undirected graph with N vertices and M edges. The vertices are numbered 1,,N, and the i-th $(1 阅读全文
posted @ 2022-09-08 22:11 灰鲭鲨 阅读(34) 评论(0) 推荐(0) 编辑
摘要:Problem StatementYou are given a sequence P=(p1,p2,,pN) that contains 1,2,,N exactly once each. You may perform the following ope 阅读全文
posted @ 2022-09-08 21:57 灰鲭鲨 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Problem StatementWe have a number line. Takahashi painted some parts of this line, as follows: First, he painted the part from X=L1 to X=R1 red. 阅读全文
posted @ 2022-09-04 21:20 灰鲭鲨 阅读(153) 评论(0) 推荐(0) 编辑
摘要:Problem StatementN players played a round-robin tournament. You are given an N-by-N table A containing the results of the matches. Let $A_{i,j 阅读全文
posted @ 2022-09-04 21:16 灰鲭鲨 阅读(51) 评论(0) 推荐(0) 编辑
摘要:Problem StatementFor two strings A and B, let A+B denote the concatenation of A and B in this order. You are given N strings $S_1,\ldots,S 阅读全文
posted @ 2022-09-04 21:13 灰鲭鲨 阅读(121) 评论(0) 推荐(0) 编辑
摘要:Problem StatementThere are N balls arranged from left to right. The color of the i-th ball from the left is Color Ci, and an integer Xi is w 阅读全文
posted @ 2022-09-04 21:04 灰鲭鲨 阅读(77) 评论(0) 推荐(0) 编辑
摘要:Problem StatementTakahashi will toss a coin N times. He also has a counter, which initially shows 0. Depending on the result of the i-th coin to 阅读全文
posted @ 2022-09-04 20:43 灰鲭鲨 阅读(69) 评论(0) 推荐(0) 编辑
摘要:Problem Statement We have a variable X and N kinds of operations that change the value of X. Operation i is represented as a pair of integers 阅读全文
posted @ 2022-09-04 18:48 灰鲭鲨 阅读(79) 评论(0) 推荐(0) 编辑
摘要:Problem Statement We have a directed graph with N vertices and M edges. Edge i is directed from Vertex Ai to Bi.and has a weight of Ci. 阅读全文
posted @ 2022-09-04 18:35 灰鲭鲨 阅读(67) 评论(0) 推荐(0) 编辑
摘要:Problem Statement You are given two strings S and T consisting of lowercase English letters. Takahashi starts with the string S. He can perform 阅读全文
posted @ 2022-09-04 15:57 灰鲭鲨 阅读(276) 评论(0) 推荐(0) 编辑

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