
【构造】
文章平均质量分 58
Gijkstra
Can we do better?
展开
-
codeforce 862C Mahmoud and Ehab and the xor(构造)
C. Mahmoud and Ehab and the xor time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Mahmoud and Ehab are on the third stage of their adventure原创 2017-09-27 21:34:15 · 506 阅读 · 0 评论 -
hdu5920 Ugly Problem(构造)
Ugly ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1511 Accepted Submission(s): 501 Special JudgeProblem Description Everyone hat原创 2017-10-05 21:09:38 · 523 阅读 · 0 评论 -
newcoder Wannafly挑战赛6 E-双拆分数(打表+构造)
题目描述对于一个数字串 s,若能找到一种将其分成左右两个非空部分 s1,s2 的方案,使得: 1、s1,s2 均无前导零 2、存在两个正整数 a,b,使得 b 整除 a,且 a/b=s1, a*b=s2那么我们记这是一个合法的分法。特别地,如果一个串有两个或更多个不同的合法的分法,那么我们称这个数字串是双拆分数字串。给定一个 n,要求构造一个长度恰为 n 的双拆原创 2017-12-23 10:16:36 · 460 阅读 · 0 评论