ujn20161222的博客

life is like a box of chocolates you never know what you re gonna get

Rich Game_模拟+思维+2018_3_18

Rich GameTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 420    Accepted Submission(s): 172Pr...

2018-03-18 14:56:02

阅读数:12

评论数:0

Dogs and Cages_数学+2018_3_18

Jerry likes dogs. He has N dogs numbered 0,1,...,N−1. He also has N cages numbered 0,1,...,N−1. Everyday he takes all his dogs out and walks them out...

2018-03-18 14:44:44

阅读数:15

评论数:0

Subway Chasing_差分约束_2018_3_18

首先建图,l[]数组判断增环Subway ChasingTime Limit: 6000/3000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 336    Accepted S...

2018-03-18 13:22:22

阅读数:16

评论数:0

THE MATRIX PROBLEM_差分约束_2018_3_18

这种写法就是判断负环L<=num[i][j]*b[j]/a[i]<=U#define c num[i][j]L/c<=b[j]/a[i]<=U/clog(L/c)<=log(b[j])-l...

2018-03-18 09:55:07

阅读数:19

评论数:0

Alice’s Stamps_dp_2018_3_8

Alice likes to collect stamps. She is now at the post office buying some new stamps. There are N different kinds of stamps that exist in the world; ...

2018-03-10 11:05:59

阅读数:16

评论数:0

Knightmare _打表_数学_2018_2_24

A knight jumps around an infinite chessboard. The chessboard is an unexplored territory. In the spirit of explorers, whoever stands on a square for t...

2018-02-24 16:16:17

阅读数:22

评论数:0

2018_2_14_Robberies _背包

The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they becom...

2018-02-14 22:20:56

阅读数:20

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭