码迷,mamicode.com
首页 >  
搜索关键字:strange sorting    ( 1127个结果
HDU 2899 strange fuction
Problem Description Now, here is a fuction: F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 <= x <=100)Can you find the minimum value when x is between 0 and ...
分类:其他好文   时间:2018-07-16 21:09:36    阅读次数:170
【POJ2891】Strange Way to Express Integers(拓展CRT)
【POJ2891】Strange Way to Express Integers(拓展CRT) 题面 "Vjudge" 板子题。 题解 拓展$CRT$模板题。 cpp include include using namespace std; define ll long long define MA ...
分类:其他好文   时间:2018-07-16 11:32:09    阅读次数:142
【状态压缩 meet in middle】poj3139Balancing the Scale
数组溢出真是可怕的事情 Description You are given a strange scale (see the figure below), and you are wondering how to balance this scale. After several attempts, ...
分类:其他好文   时间:2018-07-07 20:21:15    阅读次数:191
poj2891:Strange Way to Express Integers
题目连接: 分明$excrt$就过了。 为什么还要仔细读题呢? $qwq$ 反正我没读题然后被卡$long \ long +$输出格式错$……$总共$WA$了四次 怕不是要退役…… 上代码: ...
分类:其他好文   时间:2018-07-02 10:53:38    阅读次数:125
CodeForces 547E:Mike and Friends(AC自动机+DFS序+主席树)
What-The-Fatherland is a strange country! All phone numbers there are strings consisting of lowercase English letters. What is double strange that a p ...
分类:其他好文   时间:2018-07-01 14:55:10    阅读次数:209
bzoj Strange Way to Express Integers【excrt】
其实我没看懂题~~不如说根本没看~~……都说是excrt板子那就写个板子吧 注意开long long cpp include include using namespace std; const long long N=100005; long long n,r[N],m[N]; void exgc ...
分类:其他好文   时间:2018-07-01 14:17:10    阅读次数:123
AtCoder - 3939 Strange Nim
Problem Statement Takahashi and Aoki are playing a stone-taking game. Initially, there are N piles of stones, and the i-th pile contains Ai stones and ...
分类:其他好文   时间:2018-06-30 20:53:37    阅读次数:150
664. Strange Printer
1 我刚开始的思路是, 相邻的字符如果相同就去重, 然后循环 0 到 n, 首尾相等的话就不用额外打印; 例如 aaabbbaaa 先去重变为 aba , 循环第一个, a 打印一次, 第二个b 打印一次, 第三个a 发现和第一个相同, 不用打印; 然后提交时发现有些case没有通过测试; 后来总结 ...
分类:其他好文   时间:2018-06-30 17:46:22    阅读次数:192
hackerrankWeek of Code 31
hackerrankWeek of Code 31 A.Beautiful Word B.Accurate Sorting C.Zero-One Game D.Spanning Tree Fraction E.Colliding Circles F.Nominating Group Leaders ...
分类:其他好文   时间:2018-06-28 22:48:08    阅读次数:189
排序与搜索
排序算法(英语:Sorting algorithm)是一种能将一串数据依照特定顺序进行排列的一种算法。 排序算法的稳定性 稳定性:稳定排序算法会让原本有相等键值的纪录维持相对次序。也就是如果一个排序算法是稳定的,当有两个相等键值的纪录R和S,且在原本的列表中R出现在S之前,在排序过的列表中R也将会是 ...
分类:编程语言   时间:2018-06-26 18:36:08    阅读次数:216
1127条   上一页 1 ... 21 22 23 24 25 ... 113 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!