搜索内容

题&解
  • Orange Boy/Red Girl/Legendary Grandmeow Can You Solve It Out?
    题&解

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

    思考题 for grand contest Orange Boy(Monk.eyk.ing),Red girl(Mack.erel.pike) and their cat LGM(Legendary.Grand.Meow) are a happy family. But in fact, they are the heroes that is helping the world in silent. One day, the earth is under the attack……
    XGN 2019年7月26日
  • Orange Boy Can You Solve It Out? Ep.18
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.18

    思考题 about poems Is your love as confusing as the sun acquiesced? Once a Chinese poem said: There's sun in the east but rain in the west, Is your love as confusing as the sun acquiesced? Now you are given a undirected weighted graph G of N ……
    XGN 2019年7月25日
  • Orange Boy Can You Solve It Out? Ep.17
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.17

    思考题 for Hakurei Reimu Legacy of Lunatic Kingdom ZJS loves playing Touhou. In the famous STG game Touhou:Legacy of Lunatic Kingdom the game rules are defined as follows: The game consists of N "stages". Player start from Stage 1 and ends at Stage……
    XGN 2019年7月25日
  • Orange Boy Can You Solve It Out? Ep.16
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.16

    思考题 of math again Slime Legend II In the world of fantasy, there lives N+1 types of monsters indexed from 0 to N. Each monster can be represented by an integer pow_i - their power. And specially, type 0 is SLIME. Slime has a special ability to "……
    XGN 2019年7月23日
  • Orange gwq come and solve it!!
    题&解

    Orange gwq come and solve it!!

    You are given something, what is it? You don't know, but you are curious about it. You want to know what it is, but you can't. It made you unpleasant, you are somewhat angry. 当你的野心还撑不起你的才华时,就应该静下心来评论一下。 Formally,you are g……
    MonkeyKing 2019年7月18日
  • Orange Boy Can You Solve It Out? Ep.15
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.15

    思考题 that is quite easy FACT ZJS likes to show off his wonderful calculator. His calculator can do FACT operation which means can divide an integer to some primes' products. For example, Fact(30) will display 2\times3\times5 which is a string of ……
    XGN 2019年7月14日
  • Orange Boy Can You Solve It Out? Ep.14.5
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.14.5

    思考题 that is easier than #14 Sort and Sort and Sort and Sort You are given an integer array A of length N. And you are given Q queries. For each query, you are given Li and Ri. You need to find out the sum of products of adjcent numbers in the so……
    XGN 2019年7月10日
  • Orange Boy Can You Solve It Out? Ep.14
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.14

    思考题 specially Orange Boy And Orange Program Orange Boy is a programmer of Sunway TaihuLight. One day he wrote the following program to test the super computer: int n; int a[100005]; int getAns(int l,int r,int x){ int ans=0; for(int i=l;i
    XGN 2019年7月8日
  • Orange Boy Can You Solve It Out? Ep.13
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.13

    思考题 on trees again Tree You are given a weighted undirected tree T of N nodes. Each edge i has a weight W_i. Assume that the edges you need to travel from node i to j is E_1,E_2,E_3...E_k then we define $c_{i,j}=(-1)^k \times \sum {i=0}^kW{E_i}F……
    XGN 2019年6月29日
  • Orange Boy Can You Solve It Out? Ep.12
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.12

    思考题for Ep.11 Lunatic Walking Orange Boy loves walking. One day, he wanna walk from (sx,sy) to (ex,ey) the boy can walk in three types: from (x,y) to (x\pm1,y) by costing A yuan from (x,y) to (x,y\pm1) by costing B yuan from (x,y) to (x+1,y+1……
    XGN 2019年6月23日