码迷,mamicode.com
首页 >  
搜索关键字:cigarette coup buy cheap luck    ( 1603个结果
HITCTF2018
HITCTF的pwn部分 DragonBall 先按一般的流程来,首先分析一下程序功能: 通过买卖龙珠来集齐7颗龙珠,就可以许愿。 所以程序包含买、卖、显示龙珠数、许愿和退出五个功能 可以看到,buy函数有一个很明显的缺陷,就是在购买龙珠时,只判断钱数是否为零,所以只要钱数不为零,就可以无限购买,所 ...
分类:其他好文   时间:2018-03-14 18:12:51    阅读次数:971
[LeetCode] 123. Best Time to Buy and Sell Stock III 买卖股票的最佳时间 III
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:其他好文   时间:2018-03-09 10:42:17    阅读次数:225
[LeetCode] 121. Best Time to Buy and Sell Stock 买卖股票的最佳时间
Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction ...
分类:其他好文   时间:2018-03-09 10:39:20    阅读次数:125
[LeetCode] 122. Best Time to Buy and Sell Stock II 买卖股票的最佳时间 II
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:其他好文   时间:2018-03-09 10:37:18    阅读次数:193
[LeetCode] 188. Best Time to Buy and Sell Stock IV 买卖股票的最佳时间 IV
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:其他好文   时间:2018-03-09 10:37:05    阅读次数:141
LIGHT OJ 1116 - Ekka Dokka
Ekka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want to share the cake after buying it. As the name suggeste ...
分类:其他好文   时间:2018-03-06 17:08:07    阅读次数:161
D. Buy a Ticket(优先队列+dijkstra)
http://codeforces.com/problemset/problem/938/D 题意:n个城市,每个城市都要举办场演唱会,票价是a[i],此外还有m条双向有权边连接各个城市,求从每个城市出发,看一场演唱会再返回的最小花费。 样例:in: 4 2 out: 6 14 1 25 1 2 4 ...
分类:其他好文   时间:2018-03-04 18:05:30    阅读次数:186
POJ1474:Video Surveillance(求多边形的核)
A friend of yours has taken the job of security officer at the Star-Buy Company, a famous depart- ment store. One of his tasks is to install a video s ...
分类:其他好文   时间:2018-03-04 14:42:45    阅读次数:162
18寒假13测
题目名称 buy slide divide 输入 buy.in slide.in divide.in 输出 buy.out slide.out divide.out 每个测试点时限 1秒 1秒 1秒 内存限制 256MB 256MB 256MB 测试点数目 10 10 10 每个测试点分值 10 1 ...
分类:其他好文   时间:2018-03-03 19:33:08    阅读次数:183
poj2828 Buy Tickets
倒序 处理,线段树保存有多少空位 cpp include include using namespace std; int n, ans[200005], uu[200005], vv[200005]; struct SGT{ int sum[800005]; void build(int o, i ...
分类:其他好文   时间:2018-03-03 18:10:38    阅读次数:112
1603条   上一页 1 ... 29 30 31 32 33 ... 161 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!