上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 26 下一页
摘要: Problem Statement Let NN be a positive odd number. There are NN coins, numbered 1,2,…,N1,2,…,N. For each ii (1≤i≤N1≤i≤N), when Coin ii is tossed, it c 阅读全文
posted @ 2020-06-22 10:41 DeaL57 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Description YYF is a couragous scout. Now he is on a dangerous mission which is to penetrate into the enemy's base. After overcoming a series difficul 阅读全文
posted @ 2020-06-22 09:45 DeaL57 阅读(168) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <algorithm> #include <string> #include <set> #include <queue> #include <map> #include <sstream> #includ 阅读全文
posted @ 2020-06-21 21:54 DeaL57 阅读(193) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There is a grid with HH horizontal rows and WW vertical columns. Let (i,j)(i,j) denote the square at the ii-th row from the top and 阅读全文
posted @ 2020-06-17 11:00 DeaL57 阅读(331) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There is a directed graph GG with NN vertices and MM edges. The vertices are numbered 1,2,…,N1,2,…,N, and for each ii (1≤i≤M1≤i≤M), 阅读全文
posted @ 2020-06-17 09:56 DeaL57 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Problem Statement You are given strings ss and tt. Find one longest string that is a subsequence of both ss and tt. Notes A subsequence of a string xx 阅读全文
posted @ 2020-06-16 12:29 DeaL57 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There are NN items, numbered 1,2,…,N1,2,…,N. For each ii (1≤i≤N1≤i≤N), Item ii has a weight of wiwi and a value of vivi. Taro has de 阅读全文
posted @ 2020-06-16 11:15 DeaL57 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There are NN items, numbered 1,2,…,N1,2,…,N. For each ii (1≤i≤N1≤i≤N), Item ii has a weight of wiwi and a value of vivi. Taro has de 阅读全文
posted @ 2020-06-16 10:03 DeaL57 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Taro's summer vacation starts tomorrow, and he has decided to make plans for it now. The vacation consists of NN days. For each ii ( 阅读全文
posted @ 2020-06-15 12:19 DeaL57 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Problem Statement There are NN stones, numbered 1,2,…,N1,2,…,N. For each ii (1≤i≤N1≤i≤N), the height of Stone ii is hihi. There is a frog who is initi 阅读全文
posted @ 2020-06-15 09:15 DeaL57 阅读(329) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 26 下一页