- 博客(3)
- 收藏
- 关注
原创 Codeforces 696A Lorenzo Von Matterhorn ( LCA )
http://www.codeforces.com/problemset/problem/696/AC. Lorenzo Von MatterhornBarney lives in NYC. NYC has infinite number of intersections numbered with positive integers starting from 1. There exists a
2016-07-18 20:10:01 520
原创 BestCoder 2nd Anniversary(1001 + 1002 + 1003)
1001 Oraclehttp://acm.hdu.edu.cn/showproblem.php?pid=5718题意:将n的各个数位重新排列,并将其分成两个不含前导零的正整数。请你帮助他求出这两个正整数最大的和。如果不存在这样的两个正整数,输出”Uncertain”.RE一次,数组开小了,,,这种情况貌似经常出现… 解法是:将其分成n-1位的数 加 一个1位的数。字符串模拟大数相加。注意不合法的
2016-07-18 15:41:18 411
原创 Codeforces 360B + Codeforces 689C ( 二分 + DP )
http://codeforces.com/contest/360/problem/BB. Levko and ArrayLevko has an array that consists of integers: a1, a2, … , an. But he doesn’t like this array at all.Levko thinks that the beauty of the arra
2016-07-12 20:33:42 1398 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人