摘要:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1610 https://vjudge.net/contest/318019#problem/F Painting some colored segments on a line 阅读全文
摘要:
HDU-6708 Windows Of CCPC(打表,递归) http://acm.hdu.edu.cn/showproblem.php?pid=6708 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Jav 阅读全文
摘要:
http://poj.org/problem?id=2528 https://www.luogu.org/problem/UVA10587 Description The citizens of Bytetown, AB, could not stand that the candidates in 阅读全文
摘要:
POJ-3468 - A Simple Problem with Integers(线段树区间更新模板) http://poj.org/problem?id=3468 Description You have N integers, A1, A2, ... , AN. You need to dea 阅读全文
摘要:
https://www.luogu.org/problem/P2967 https://ac.nowcoder.com/acm/contest/1077/B 题目描述 Farmer John's cows love their video games! FJ noticed that after p 阅读全文
摘要:
https://www.luogu.org/problem/P1037 题目描述 给出一个整数 n(n<1030) 和 k 个变换规则(k<=15)。 规则: 一位数可变换成另一个一位数:规则的右部不能为零。 例如:n=234。有规则(k=2): 2-> 5 3-> 6 上面的整数 234 经过变换 阅读全文
摘要:
NOIP2002 过河卒(非DFS,DP) https://www.luogu.org/problem/P1002 题目描述 如图,A 点有一个过河卒,需要走到目标 B 点。卒行走规则:可以向下、或者向右。同时在棋盘上的任一点有一个对方的马(如上图的C点),该马所在的点和所有跳跃一步可达的点称为对方 阅读全文
摘要:
TOJ-3474 The Big Dance(递归二分) 链接:https://ac.nowcoder.com/acm/contest/1077/L 题目描述 Bessie and the herd, N (1 <= N <= 2,200) conveniently numbered 1..N co 阅读全文
摘要:
https://www.luogu.org/problem/P2966 题目描述 Like everyone else, FJ is always thinking up ways to increase his revenue. To this end, he has set up a serie 阅读全文
摘要:
[USACO09DEC]音符Music Notes (二分、STL) https://www.luogu.org/problem/P2969 题目描述 FJ is going to teach his cows how to play a song. The song consists of N ( 阅读全文