随笔分类 -  Atcoder/洛谷/namomo OJ

摘要:Problem Statement We have a grid with H rows and W columns. At first, all cells were painted white. Snuke painted N of these cells. The i-th ( 1≤i≤N ) 阅读全文
posted @ 2019-04-15 22:39 茄子Min 阅读(332) 评论(0) 推荐(0)
摘要:Problem Statement You are given a string S consisting of digits between 1 and 9, inclusive. You can insert the letter + into some of the positions (po 阅读全文
posted @ 2019-04-15 20:47 茄子Min 阅读(267) 评论(0) 推荐(0)
摘要:Problem Statement "Teishi-zushi", a Japanese restaurant, is a plain restaurant with only one round counter. The outer circumference of the counter is  阅读全文
posted @ 2019-04-14 22:09 茄子Min 阅读(316) 评论(0) 推荐(0)
摘要:D - Handstand Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400400 points Problem Statement NN people are arranged in a row from left to right. Yo 阅读全文
posted @ 2019-04-14 13:23 茄子Min 阅读(490) 评论(0) 推荐(0)
摘要:D - We Like AGC Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400400 points Problem Statement You are given an integer NN. Find the number of stri 阅读全文
posted @ 2019-04-11 21:07 茄子Min 阅读(381) 评论(0) 推荐(0)
摘要:Problem Statement You are given a positive integer N. Find the number of the pairs of integers u and v(0≦u,v≦N) such that there exist two non-negative 阅读全文
posted @ 2019-03-27 16:51 茄子Min 阅读(594) 评论(0) 推荐(0)
摘要:Problem Statement There are N cities. There are also K roads and L railways, extending between the cities. The i-th road bidirectionally connects the  阅读全文
posted @ 2019-03-26 20:30 茄子Min 阅读(341) 评论(0) 推荐(1)
摘要:Problem Statement You are given an integer N. Find the number of the positive divisors of N!, modulo 10^9+7. Constraints 1≤N≤10^3 Input The input is g 阅读全文
posted @ 2019-03-17 15:35 茄子Min 阅读(795) 评论(0) 推荐(0)
摘要:D - Various Sushi Time Limit: 2 sec / Memory Limit: 1024 MB Score : 400400 points Problem Statement There are NN pieces of sushi. Each piece has two p 阅读全文
posted @ 2019-01-30 15:39 茄子Min 阅读(458) 评论(0) 推荐(0)
摘要:I - Coins Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement Let NN be a positive odd number. There are NN coins, numbe 阅读全文
posted @ 2019-01-16 23:26 茄子Min 阅读(557) 评论(0) 推荐(0)
摘要:F - LCS Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement You are given strings ss and tt. Find one longest string tha 阅读全文
posted @ 2019-01-16 12:56 茄子Min 阅读(799) 评论(0) 推荐(0)
摘要:E - Knapsack 2 Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement There are NN items, numbered 1,2,…,N1,2,…,N. For each 阅读全文
posted @ 2019-01-15 23:26 茄子Min 阅读(1106) 评论(0) 推荐(1)
摘要:D - Knapsack 1 Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement There are NN items, numbered 1,2,…,N1,2,…,N. For each 阅读全文
posted @ 2019-01-10 20:10 茄子Min 阅读(566) 评论(0) 推荐(0)
摘要:C - Vacation Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement Taro's summer vacation starts tomorrow, and he has deci 阅读全文
posted @ 2019-01-10 19:40 茄子Min 阅读(741) 评论(0) 推荐(0)
摘要:B - Frog 2 Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement There are NN stones, numbered 1,2,…,N1,2,…,N. For each ii 阅读全文
posted @ 2019-01-09 23:20 茄子Min 阅读(607) 评论(0) 推荐(0)
摘要:A - Frog 1 Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement There are NN stones, numbered 1,2,…,N1,2,…,N. For each ii 阅读全文
posted @ 2019-01-09 22:52 茄子Min 阅读(1078) 评论(0) 推荐(0)