ICode9

精准搜索请尝试: 精确搜索
  • Codeforces Round #716 (Div. 2) C. Product 1 Modulo N2021-05-29 19:00:09

    problem C. Product 1 Modulo N time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Now you get Baby Ehab’s first words: “Given an integer n, find the longest subsequence of [1,2,…,n−1] whose product

  • 水题Eating Soup2020-01-21 22:04:16

     A. Eating Souptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output    The three friends, Kuro, Shiro, and Katie, met up again! It’s time for a party…    What the cats do when they unite? Right, the

  • D1. Equalizing by Division (easy version)2019-08-31 15:42:55

    The only difference between easy and hard versions is the number of elements in the array. You are given an array a consisting of n integers. In one move you can choose any ai and divide it by 2 rounding down (in other words, in one move you can set a

  • Codeforces Round #566 (Div. 2)B. Plus from Picture2019-06-15 20:52:31

    You have a given picture with size w×h. Determine if the given picture has a single “+” shape or not. A “+” shape is described below: A “+” shape has one center nonempty cell. There should be some (at least one) consecutive non-empty cells in eac

  • D - Liebig's Barrels CodeForces - 985C2019-04-16 11:47:38

    C. Liebig’s Barrels time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You have m = n·k wooden staves. The i-th stave has length ai. You have to assemble n barrels consisting of k staves each, you

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有