搜索内容

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

    Orange Boy Can You Solve It Out? Ep.11

    是时候放松一下,做一道简单的题目了 Walking Orange Boy loves walking. One day, he wanna walk from (x_1,y_1) to (x_n,y_n) 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……
    XGN 2019年6月23日
  • Orange Boy Can You Solve It Out? Ep.10
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.10

    思考题 from school PKU PK P Given an integer array A of length N. Define a number is strong if it is not the first or the last number in an array and it is strictly bigger than both the number before and after it. For example, in the array [2,0,1,7……
    XGN 2019年6月23日
  • Orange Boy Can You Solve It Out? Ep.9
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.9

    Solved! Difficulty: Div2B-Div2C 思考题 that seems easy A perfect word Given N strings. Find out a longest string so that each substring of it is one of the N strings. Example Input str={a,t,at,orange} Output at Constriants Subtask 1(30%):N<……
    XGN 2019年6月18日
  • Orange Boy Can You Solve It Out? Ep.8
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.8

    思考题 for stupid myself A well-known task Given N segments [L_i,R_i] with weight W_i. Now you want to choose some segments s_1,s_2,s_3,...,s_k so that |[L_{s_1},R_{s_1}]\cap [L_{s_2},R_{s_2}]\cap ...\cap [L_{s_k},R_{s_k}]|*\sum_{i=1}^kW_{s_i} is m……
    XGN 2019年6月10日
  • Orange Boy Can You Solve It Out? Ep.7
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.7

    unsolvable 思考题 for unsolvable monkey Dragon Bone Reborn As a dragon yourself, it is very hard for you to live for every day there're a lot of knights who want to kill you and your bones are frequently broken. Your bone system can be seen as a un……
    XGN 2019年6月1日
  • Orange Boy Can You Solve It Out? Ep.6
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.6

    思考题 for no one Tour You are given a tree of N nodes. Given another integer array A of length M. Little CMJ chooses M sequences of nodes. The i-th of them is X_1,X_2...X_{A_i} and he chooses them so that for each 1\leq i\leq A_i-1,there's an edge……
    XGN 2019年5月3日
  • Orange Boy Can You Solve It Out? Ep.5
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.5

    思考题 for blue boy Roguelike Tree Statement You are given a tree of N nodes. Each node could be 3 status: passable(.), impassable(X), unknown(?). Now we randomly replace each "unknown" to "passable" or "impassable" then we need to find out the exp……
    XGN 2019年5月3日
  • Orange Boy Can You Solve It Out? Ep.4
    OBCYSIO

    Orange Boy Can You Solve It Out? Ep.4

    思考题 for nobody Rougelike Game You are given a graph of N*M grids. Each grid can be a wall 'X',a path'.' or unknown '?' One grid is the start point 'S' and one grid is the end point 'E' Now we change the '?' randomly to 'X' or '.' and run shortes……
    XGN 2019年5月3日
  • Red boy can you solve it?
    题&解

    Red boy can you solve it?

    Rong Kong is a filial boy. There are N pears on the table. Both he and his brother can eat them. They both want to eat as much as they can. Each of them weighs a[i]. It costs a[i] time for a boy to eat a pear weighing a[i] and it gives him a[i] sat……
    MonkeyKing 2019年4月22日
  • [赵宇气物理]经典“气”题
    题&解

    [赵宇气物理]经典“气”题

    考虑空气阻力的竖直上抛问题 由于这篇blog语言儒雅随和通俗易懂,所以一般通过观众也可以放心观看 阻力 f=mkv^2, 其中m为物体质量,k为常数 阻力始终与运动方向相反 重力加速度为g 以初速度 v_0 将该物体上抛,试描述其运动速度与时间的关系 Answer: 首先因为阻力的方……
    Zzzyt 2019年4月21日