最新 最热

1215: 一道比较水的题

Little A是ACM团队的一员。他刚刚在世界决赛中获得金牌。为了庆祝,他决定邀请所有的人吃一顿饭。由于厨房里的碗、刀等餐具不够用,小A去仓库拿备用餐具。仓库里有很多箱子,一个箱子里只装一件东西,每个箱子都标有里面物品...

2023-04-27
1

S2 - Lesson 51 - Reward for virtual

My friend, Hugh, has always been fat, but things got so bad recently that he decided to go on a diet.

2023-03-27
2

java实现简单的字符串解析匹配运算规则引擎

有这样的需求,我有一个map,里面放了一些key-value,自定义了一些规则,如age==24&&name==aom||phone==123456789,希望能有个引擎能判断出这个Map里的值,是否匹配上这个规则,规则里有一些简单的运算,如==、contains等。...

2023-03-09
1

Scarily interesting! (URAL - 2021)

This year at Monsters University it is decided to arrange Scare Games. At the Games all campus gathers at the stadium stands, and the Scare program students div...

2023-03-09
1

About Grisha N. ( URAL - 2012 )

Grisha N. told his two teammates that he was going to solve all given problems at the subregional contest, even if the teammates wouldn’t show up at the competi...

2023-03-09
1

Friends (ZOJ - 3710)

Alice lives in the country where people like to make friends. The friendship is bidirectional and if any two person have no less than k friends in common, they ...

2023-03-09
1

Density of Power Network(ZOJ 3708)

The vast power system is the most complicated man-made system and the greatest engineering innovation in the 20th century. The following diagram shows a typical...

2023-03-09
2

H-Fashion in Berland

According to rules of the Berland fashion, a jacket should be fastened by all the buttons except only one, but not necessarily it should be the last one. Also i...

2023-03-09
1

K - Highway Project  ZOJ - 3946 【 SPFA 求最小时间下最小距离】

Edward, the emperor of the Marjar Empire, wants to build some bidirectional highways so that he can reach other cities from the capital as fast as possible. Thu...

2023-03-09
2

A. Help Vasilisa the Wise 2 (逻辑)-------C语言—菜鸟级

A. Help Vasilisa the Wise 2 time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasilisa the Wise fro...

2022-11-21
2