在Linux系统中,虽然有各种各样的图形化接口工具,但是sell仍然是一个非常灵活的工具。Shell不仅仅是命令的收集,而且是一门非常棒的编程语言。您可以通过使用shell使大量的任务自动化,shell特别擅长系统管理任务,尤其适合那些易用性、可维护性和便携性比效率更重要的任务。
下面,让我...
分类:
系统相关 时间:
2014-11-02 22:18:45
阅读次数:
279
一、复式库存(Double-Entry Stock Management)和库存移动(Stock Move) OpenERP的库存管理采取了独特的复式库存(Double-Entry Stock Management)。什么是复式库存?就是每一笔库存变动,同时记录库存减少和库存增加。例如卖了10辆自行...
分类:
其他好文 时间:
2014-10-31 10:00:26
阅读次数:
283
题目:poj 2828 Buy Tickets
题意:有n个人排队,每个人有一个价值和要插的位置,然后当要插的位置上有人时所有的人向后移动一位当这个插入到这儿,如果没有直接插进去。
分析:分析发现直接插入移动的话花时间太多,我们可不可以用逆向思维。从后往前来,因为最后一个位置是肯定能确定的,而其他的则插入空的第某个位置。
比如第一组样例:
4
0 77
1 51
1 3...
分类:
其他好文 时间:
2014-10-30 22:40:22
阅读次数:
207
Recently Yaghoub is playing a new trick to sell some more. When somebody gives him A Tomans,
he who never has appropriate changes, asks for B Tomans such that lowest common multiple of A and B equal...
分类:
其他好文 时间:
2014-10-29 21:35:13
阅读次数:
253
题目地址:Buy Tickets题目大意: 模拟一个插队买票的情况,有N个人,每个人都有一个pos要插到第几个人的后面,还有一个val值,更新N次插队的顺序,插入完毕最后按照队伍顺序输出val值。解题思路: 直接模拟插入是不行的,会TLE,如果正着插入的话,会导致下一个人要排在前面的话,插入的p.....
分类:
其他好文 时间:
2014-10-28 11:43:29
阅读次数:
152
Best Time to Buy and Sell Stock IIISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the...
分类:
其他好文 时间:
2014-10-26 22:43:56
阅读次数:
178
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2126题意:给你n个物品,m元钱,问你最多能买个多少物品,并且有多少种解决方案。一开始想到的是,先解决给m元钱因为我花的钱少就一定能购买够多的物品,因此是个贪心算法。记买最多的物品数为c。然后就是设计状态...
分类:
其他好文 时间:
2014-10-24 01:34:06
阅读次数:
210
Problem Description
Good news for us: to release the financial pressure, the government started selling galaxies and we can buy them from now on! The first one who bought a galaxy was Tianming Yun an...
分类:
其他好文 时间:
2014-10-23 22:51:27
阅读次数:
228
Language:
Default
Buy Tickets
Time Limit: 4000MS
Memory Limit: 65536K
Total Submissions: 13847
Accepted: 6926
Description
Railway tickets were difficult to buy ar...
分类:
其他好文 时间:
2014-10-23 22:49:24
阅读次数:
299
Best Time to Buy and Sell Stock IISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the ...
分类:
其他好文 时间:
2014-10-23 12:23:23
阅读次数:
224