搜索内容

题&解
  • Orange Boy Can You Solve It Out? Ep.25
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.25

    思考题 which is obvious Deja Vu There is a ball located at the origin point of a n-dimensional space. Its speed can be seen as a vector of n integers. Its acceleration can be seen as a vector of n integers too. Every second, an event will happen, a……
    XGN 2019年10月12日
  • Orange Boy/Red Girl/Legendary Grandmeow Can You Solve It Out? Ep.2
    题&解

    Orange Boy/Red Girl/Legendary Grandmeow Can You Solve It Out? Ep.2

    思考题 for implementing CPP Program You are given a C++ Program without any compiler command (without '#'). It's made sure it will pass compilation when tested on Codeforces C++ 11 compiler after adding necessary imports. You have to solve the prob……
    XGN 2019年10月1日
  • Orange Boy Can You Solve It Out? Ep.24
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.24

    思考题 for China Birthday! Military parade It's going to be the 70th birthday of China! Orange Boy is looking forward to it and to celebrate this, he became Red Boy! So he proposes the following problem for you: On Oct.1st. There is a military para……
    XGN 2019年9月27日
  • Orange Boy Can You Solve It Out? Ep. 23 / 神犇,解乎?
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep. 23 / 神犇,解乎?

    思考题 in ancient Chinese Orange Boy Can You Solve It Out? / 神犇,解乎? 令和元年九月二十一日,余与神犇同饮,乐也。见月色空明,开而无雨,犇曰「如此宴酣之乐,何不以卵玩之以陶冶情操?」,杂然相许。 但见数卵,神犇摆之成堆。共N堆,i堆A_i卵耳。犇问之「……
    XGN 2019年9月21日
  • NFLS 2019-9-19 Programming Training
    题&解

    NFLS 2019-9-19 Programming Training

    搬运NFLS训练 NFLS Programming Training 2019-9-19 For international readers, please scroll down. A - 求和(sum.cpp) Statement 求 f(n)=a^{n+k} 的第q项到p项的和。 Input n k q p Output 一个整数,取模10^9+7 Example In: 2 0 2 3 Out: 12 Constriants For 100……
    XGN 2019年9月20日
  • Orange Boy Can You Solve It Out? Ep.22
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.22

    思考题 in poems Uncomment In a, programmers' day, Comment, all the lines I may. N lines, there should be. Commented A_i as I've been. Select a region, Toggle its comment. Cost of all, is (R-L+1)*A+B for all. Or add a comment, just in one line. Move……
    XGN 2019年9月15日
  • Green Boy Can't You Solve It Out?
    OBCYSIO

    Green Boy Can't You Solve It Out?

    2 problems for div3 participants Bomb Defusing II Statement Find how many years in range [l,r] that it has Sept.1 as a weekend(Sunday and Saturday)? Example l=2017,r=2019 out=2 2018/9/1 is Saturday while 2019/9/1 is Sunday Constriants (Div2A-Div2B)……
    XGN 2019年8月31日
  • Orange Boy Can You Solve It Out? Ep. 21.8
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep. 21.8

    思考题 within 5 min Bomb defusing 「Readers, please set up a 5-minute timer before you continue to read」 Green boy envied Orange Boy for having such a high rating. So he decided to send Orange Boy a present: a bomb! The bomb will explode in 5 minu……
    XGN 2019年8月28日
  • Orange Boy Can You Solve It Out? Ep.21.5
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.21.5

    APPROXIMATE PROBLEM WARNING Metro There are N metro stations in a city. The distance between each two station is a fixed integer x. Your task is to construct some metro lines across the stations. We define a cost from station A to station B as the ……
    XGN 2019年8月25日
  • Orange Boy Can You Solve It Out? Ep.21
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.21

    思考题 for bread Bread Story You have a piece of bread which can be seen as a N*M grid. You also have a bottle of jam. You want to put some jam on the bread to make the bread delicious. You can do the following two operations: Put 1 unit of jam on……
    XGN 2019年8月24日