
暴力
Lngxling
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CodeForces - 798B Mike and strings —— 暴力
B. Mike and strings time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Mike has n strings s1, s2, ..., sn each原创 2017-09-24 10:48:10 · 426 阅读 · 0 评论 -
CodeForces - 681B Economy Game
B. Economy Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Kolya is developing an economy simulator gam原创 2017-12-19 22:07:20 · 252 阅读 · 0 评论 -
CodeForces - 214A System of Equations
A. System of Equations time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Furik loves math lessons very much,原创 2018-02-05 20:14:49 · 415 阅读 · 0 评论 -
CodeForces - 598C Nearest vectors
C. Nearest vectorstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given the set of vectors on the plane, each of them starting at the orig...原创 2018-03-19 22:54:29 · 296 阅读 · 0 评论 -
CodeForces - 768B Code For 1 —— 递归分治
题意: 把一个数n拆分,奇数拆成n/2,1,n/2,偶数拆成n/2,0,n/2,1和0不可拆,问拆分后从l位置到r位置1的个数 思路: 分治递归拆分即可...想的太多... n最大是2^50,最多递归调用也才是高为50的二叉树 #include <iostream> #include <cstdio> #include <cmath> #includ...原创 2018-10-10 10:03:58 · 519 阅读 · 0 评论