最新 最热

USACO Training Section 1.2 挤牛奶Milking Cows

三个农民每天清晨5点起床,然后去牛棚给3头牛挤奶。第一个农民在300秒(从5点开始计时)给他的牛挤奶,一直到1000秒。第二个农民在700秒开始,在 1200秒结束。第三个农民在1500秒开始2100秒结束。期间最长的至少有一个农民在...

2020-10-28
1

Codeforce-Ozon Tech Challenge 2020-D. Kuroni and the Celebration(交互题+DFS)

After getting AC after 13 Time Limit Exceeded verdicts on a geometry problem, Kuroni went to an Italian restaurant to celebrate this holy achievement. Unfortuna...

2020-10-28
1

The Preliminary Contest for ICPC Asia Xuzhou 2019 徐州网络赛 D Carneginon

Carneginon was a chic bard. But when he was young, he was frivolous and had joined many gangs. Recently, Caneginon was to be crowned, because the king was shock...

2020-10-28
1

POJ 1170 Shopping Offers非状态压缩做法

Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 5659 Accepted: 2361

2020-10-28
1

POJ 2188 Cow Laundry

Cow Laundry Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1376 Accepted: 886 Description

2020-10-28
1

POJ 2230 Watchcow 欧拉回路的DFS解法(模板题)

Watchcow Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 9974 Accepted: 4307 Special Judge Description

2020-10-28
1

CodeForces - 225C. Barcode(DP)

You’ve got an n × m pixel picture. Each pixel can be white or black. Your task is to change the colors of as few pixels as possible to obtain a barcode picture.

2020-10-28
5

图论-单源最短路径(Dijskal算法)

Dijkstra算法应用了贪心的思想,即“抄近路走”。维护两个集合A和B,A表示已确定最短路径的结点集(红色表示), B表示邻居结点(蓝色表示)。...

2020-10-23
1

R数据读取(数据文件解析)

1,控制读入的数据行数,非批处理,有点类似数据库中的指标操作,可对文件中的数据逐行操作。

2020-10-23
1

Linux nl命令的使用方法

nl (Number of Lines) 将指定的文件添加行号标注后写到标准输出。如果不指定文件或指定文件为”-” ,程序将从标准输入读取数据。

2020-10-21
2