AmazingCounters.com
1 2 3 4 5 ··· 16 下一页
摘要: to do list:1.正则表达式引擎 (done2.五子棋AIjquery && canvas 游戏 (这个搞定好多好玩的idea可以实现了php 暂时不想玩各种框架吧,用原生php做一个小型的cmspython 唔,bzoj貌似wget爬不到,目前想直接用python强行爬java 唔,这学... 阅读全文
posted @ 2015-02-09 20:19 philippica 阅读(269) 评论(0) 推荐(0) 编辑
摘要: SGU 100 A+B :太神不会SGU 101 Domino:题目大意:有N张骨牌,两张骨牌有两面有0到6的数字,能相连当且仅当前后数字相同,问能否有将N张骨牌连接的方案?思路:裸的欧拉回路,注意自环,连通 1 //sgu101 2 #include 3 #include 4 #include ... 阅读全文
posted @ 2015-02-05 22:11 philippica 阅读(221) 评论(0) 推荐(0) 编辑
摘要: There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any s 阅读全文
posted @ 2016-02-24 00:09 philippica 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 描述 猫流大大发现一个女神,你能告诉我女神的名字么(名字即是flag) nvshen.zip Solution: Extract the file and we could find a txt which contains a string like base64.Decode it: impor 阅读全文
posted @ 2016-02-10 15:16 philippica 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 为什么选择python,它强大的库可以让你专注在爬虫这一件事上而不是更底层的更繁杂的事爬虫说简单很简单,说麻烦也很麻烦,完全取决于你的需求是什么以及你爬的网站所决定的,遇到的第一个简单的例子是paste.ubuntu.com这是一个贴代码的网站,没事喜欢看看有没有什么好玩的东西,只是上面大部分都是m... 阅读全文
posted @ 2015-11-07 13:40 philippica 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 查看效果请到 http://philippica.github.io/ 点击fill这功能其实实现很low,最早高一看黑书的时候看到了floodfill算法感觉好神奇,转念一想这不就是bfs么!!被高大上名词骗了有木有所以先设置一个阈值var threshold;它的含义和photoshop魔术棒中... 阅读全文
posted @ 2015-10-31 23:56 philippica 阅读(1354) 评论(1) 推荐(1) 编辑
摘要: 查看效果请到 http://philippica.github.io/ 点击blur模糊效果比较好的应该是高斯模糊,一个点的值变成了以该点为圆心的一个圆内所有像素的加权平均,权重由二维正态分布计算出以前用qt实现过一个高斯模糊,但是js的速度毕竟不能和c++比,为了实现一个比较好的效果,这里在效率和... 阅读全文
posted @ 2015-10-31 11:12 philippica 阅读(580) 评论(0) 推荐(0) 编辑
摘要: 查看效果请到 http://philippica.github.io/ 点击drag和上一篇画图很像,所以有些部分做了省略当鼠标按下时保存当前画布上的内容到ppImgData中,并且记录下初始点的位置,当鼠标移动时调用ppDrag函数 1 $('#myCanvas').unbind(); 2... 阅读全文
posted @ 2015-10-31 10:31 philippica 阅读(2216) 评论(0) 推荐(0) 编辑
摘要: 查看效果请到 http://philippica.github.io/ 点击paint嗯,心血来潮想做个东西的一部分html部分不用多说了,重点就是一个canvas 1 2 3 4 foo 5 6 7 11 1... 阅读全文
posted @ 2015-10-23 23:26 philippica 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: Description对于一个正整数n,定义f(n)为它十进制下每一位数字的平方的和。现在给定三个正整数k,a,b,请求出满足a 2 #include 3 #include 4 using namespace std; 5 int main() 6 { 7 long long k,a,b,c... 阅读全文
posted @ 2015-10-19 00:01 philippica 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Description给定n个数,请从中选出若干个数,使得总和为偶数,请最大化这个总和。Input第一行包含一个正整数n(1 2 #include 3 #include 4 using namespace std; 5 int main() 6 { 7 int n; 8 scanf(... 阅读全文
posted @ 2015-10-18 23:33 philippica 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Description为了研究农场的气候,Betsy帮助农夫John做了N(1 2 #include 3 #include 4 #define inf (1LL << 62) 5 using namespace std; 6 long long pre[200][200],dp[200][200]... 阅读全文
posted @ 2015-10-18 23:22 philippica 阅读(419) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 16 下一页