常用API
axWindowsMediaPlayer1.Ctlcontrols.Play 播放
axWindowsMediaPlayer1.Ctlcontrols.Stop 停止
axWindowsMediaPlayer1.Ctlcontrols.Pause 暂停
axWindowsMediaPlayer1.Ctlcont...
题意:对序列取出连续的一段接到剩下的第k个值后面,或者把一段序列反转。解题思路:splay 区间操作。解题代码: 1 // File Name: hdu3487.cpp 2 // Author: darkdream 3 // Created Time: 2015年04月09日 星期四 10时1...
分类:
其他好文 时间:
2015-04-09 13:42:08
阅读次数:
132
Continue previous article :
Understand wave format, and implement a wave reader , In here , I will demonstrate how to play audio in windows.
(Zeroth are wave format, you could refer to previous a...
Mountain Subsequences
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
Coco is a beautiful ACMer girl living in a very beautiful mountain. There are many trees and flowers on the ...
分类:
其他好文 时间:
2015-04-07 21:42:24
阅读次数:
141
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3712
题意:
一款游戏,高手玩家不会miss,得分至少为50。记分公式为P = Point * (Combo * 2 + 1),求最多得多少分,最低得多少分。
简单的贪心,贪心策略:最高分先50,再100,最后300。最低分反之即可。
...
分类:
其他好文 时间:
2015-04-07 09:58:05
阅读次数:
143
在游戏的设置中会遇到设置音乐和音效的设置,包括音量设置。
但是在3.0的版本中,在Windows平台下发现音量设置是无法设置的。查看源代码发现,,这部分的居然没实现。。。。一个是始终返回1.0 的函数,一个是空。。。Coco给的测试项目也是无法调节的。
便开始寻找解决办法。现有的办法如下:(这个问题在社区被反应,然后有人提了个issue,解决如下)
地址是:https://github.co...
YY's Minions
Time Limit: 2 Seconds
Memory Limit: 65536 KB
Despite YY's so much homework, she would like to take some time to play with her minions first.
YY lines her minions up to an...
分类:
其他好文 时间:
2015-04-05 22:00:47
阅读次数:
262
关于google play支付交易订单的服务端验证方法PHP版本demo...
分类:
Web程序 时间:
2015-04-05 21:58:54
阅读次数:
747
解决办法:删掉 target目录下的两个文件夹: src_mananger 和 twirl -----或者删掉整个target文件夹。 因为play framework 运行的是 在target 文件夹内生成的scala 文件, 而并非源代码,如果源代码是java的话。这时候必须重启服务器,重新ma...
分类:
其他好文 时间:
2015-04-04 10:37:59
阅读次数:
124