码迷,mamicode.com
首页 >  
搜索关键字:cf    ( 2836个结果
CF 1003B Binary String Constructing 【构造/找规律/分类讨论】
``` You are given three integers a, b and x. Your task is to construct a binary string s of length n=a+b such that there are exactly a zeroes, exactly ...
分类:其他好文   时间:2018-07-22 00:10:00    阅读次数:235
CF 1005B Delete from the Left 【模拟数组操作/正难则反】
You are given two strings s and t. In a single move, you can choose any of two strings and delete the first (that is, the leftmost) character. After a ...
分类:编程语言   时间:2018-07-21 22:46:26    阅读次数:282
CF 1005C Summarize to the Power of Two 【hash/STL-map】
A sequence a1,a2,…,an is called good if, for each element ai, there exists an element aj (i≠j) such that ai+aj is a power of two (that is, 2d for some ...
分类:其他好文   时间:2018-07-21 22:42:19    阅读次数:213
CF 1005A Tanya and Stairways 【STL】
Little girl Tanya climbs the stairs inside a multi storey building. Every time Tanya climbs a stairway, she starts counting steps from 1 to the number ...
分类:其他好文   时间:2018-07-21 22:42:02    阅读次数:230
1977: [BeiJing2010组队]次小生成树 Tree
题解:和cf的一道题比较类似 首先跑一个MST 对于这个树做树链剖分 枚举不在这个树上的边找严格小于这条边的最大边权值 然后求ans 1977: [BeiJing2010组队]次小生成树 Tree Description 小 C 最近学了很多最小生成树的算法,Prim 算法、Kurskal 算法、消 ...
分类:其他好文   时间:2018-07-20 21:41:05    阅读次数:223
CodeForces 1009B(思路)
本来打算打打cf找找自信的,结果,死在了一个2000多人都做出来的B上,写了170多行wr在t4,大佬十几行代码就过了,难受啊。 ...
分类:其他好文   时间:2018-07-20 15:21:04    阅读次数:228
Destoon二开必看执行流程
halt = (DT_DEBUG || IN_ADMIN) ? 1 : 0; $db->pre = $CFG['tb_pre']; $db->connect($CFG['db_host'], $CFG['db_user'], $CFG['db_pass'], $CFG['db_name'], $CF... ...
分类:其他好文   时间:2018-07-18 14:02:59    阅读次数:201
CF 900B
CF 900B Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CF 900B Description 现有一式子 a / b. 你需要找出数字 c 在小数点后第一次出现的位置 Input 输入包含三个整数  ...
分类:其他好文   时间:2018-07-17 16:37:29    阅读次数:150
回忆录
想要将oi旅程中的关键节点记录在这里。 2017.12.1 noip2017分数线划定。一等分数线360,我400,提高一等。 初三。第一次noip。 2018.1.5 2018第一场cf。QAQ终于升紫名了。真·紫名。 2018.4.27 ZJOI2018R2落幕。综合noip和R1成绩排在全省r ...
分类:其他好文   时间:2018-07-13 22:18:48    阅读次数:134
CF.724G.Xor-matic Number of the Graph(线性基)
"题目链接" $Description$ 给定一张带边权无向图。若存在u v的一条路径使得经过边的边权异或和为s(边权计算多次),则称(u,v,s)为interesting triple。 求图中所有interesting triple中s的和。 $Solution$ 同 "[WC2011]Xor" ...
分类:其他好文   时间:2018-07-13 22:18:05    阅读次数:145
2836条   上一页 1 ... 85 86 87 88 89 ... 284 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!