Random Diary No. 1

Random diary as it is.

Today I turned 16 and I finished Spice and Wolf 2 anime as well.

I really appreciated Zhuky.RLG’s hoodie and the cake my parents bought.

Yes, I really like Spice and Wolf and I may be digging gold recently from the franchise as well.

Read More

Orange Boy Can You Solve It Out? Ep.42

思考题 with anime again

Spicy Wolf

XGN have watched the famous anime Spice and Wolf and now as usual, he will propose a problem.

In the country, there are N cities and M bidirectional roads. Each road connects two city and has a dangerous point Di. Each city has three properties: Pi - the profit, Fi - the deliciousness of the food there and Gi - the number of attractions in the city.

Now Lawrence, Horo and Nora are at city 1. Before the trip, Lawrence will give Nora X coins, which will be determined by you. This will make all roads with dangerous points less than or equal to X be available for passing.

Their journey will last for T days. In each day, they will first move to an adjacent city. There Lawrence will do some business and get Pi coins. The way they determine which city to go will follow these rules:

  • Assume they are at city x and all adjacent cities are in adj
  • Horo will first choose an adjacent city i randomly with the probability
  • Then Nora will choose an adjacent city j randomly with the probability
  • Then among city i and j, they will go to the one with higher profit.

For example, if the adjacent cities have [{P,F,G}]=[{1,2,3},{2,3,4},{5,6,7}], then a possible process is:

  • Horo chose city 1
  • Nora chose city 3
  • Lawrence decided to go to city 3 because it had higher profit
  • Possibility of this scene:

What’s the maximum expected profit after day T when the initial X is optimal? Please print the profit and the initial X.

Read More

Orange Boy Can You Solve It Out? Ep.41

Long time no see 思考题!

Allow me to cut through those words!

Have you ever played Danganronpa? It’s a game which allows you to cut through others words by exposing lies. Our adorable swordsman Ookami decides to try it too!

There are N words Ookami needs to cut. They will appear in a plane as rectangles. The i-th one will appear at second , with its left-up corner at and right-down corner at . The left-up corner will move to and its right-down corner will move to linearly and smoothly in seconds. It will also have a health of

Read More

NOIP 2020游记

今年NOIP是不是不分提高和普及了?

不管不管,讲讲今年考场上发生的破事吧。

Ch0 前一周

前一周都在摸鱼,由于流量不够还排下了许多游戏准备下载 考完试立即开玩

只有周四刷了刷过去的题目。

Ch1 考前状态

仍然住在 唯一指定酒店 翠屏山

然后晚上由于某人打呼噜没睡好

Read More

NFLSPC3游记

NFLSPC#3开始啦!

这次没有海报,甚至连对外宣传都没有做好,题目质量又怎么样呢?

满分题 aka 签到题

A

第一题放了最简单的题,nice!非常简单,但是:

我不会用map,要不你来写吧

–某位听起来像是普及组100分但是提高组得了285的队友

结果没看题只听解法听错了,还WA了一发。

Read More