- 博客(212)
- 资源 (1)
- 收藏
- 关注
原创 手把手教你用 node 玩跳一跳,跳一跳刷分
github: https://github.com/aOrz/wx_jump_game实现原理:用 adb,将手机截屏,并传输到电脑上,将图片载入到 canvas 中,通过 getImageData,获取到图片的数据,将 rgb颜色转为 255 的色值,形成一个二维数组,这样我们就可以用颜色点阵来表示图片了,重点来了,然后呢?匹配跳跃点棋子:小人颜色是固定的,找到
2017-12-30 19:32:49 1209
原创 支付宝小程序转微信小程序工具
微信小程序转支付宝小程序命令行工具wordpress转APP方案mui + vue单文件组件开发, 热更新脚手架wxmp2antmp什么是 wxmp2antmp?wxmp2antmp 是一个微信小程序转支付宝小程序的命令行工具安装npm i -g wxmp2antmp使用w2a 微信小程序目录 支付宝小程序目录注意事项
2017-08-30 19:30:36 2955
原创 wordpress 移动客户端(安卓,ios)
Wordpress-Mobile-Application利用wordpress作为后台,构建App源码地址:https://github.com/4013465w/Wordpress-Mobile-Application用到的技术html5+:http://www.dcloud.io/docs/api/mui:http://dcloudio.github.io/mui/hbuilder:htt
2016-04-03 13:19:12 2364
原创 飞信免费消息api,飞信接口
大家都知道飞信是可以免费发送短信的,但是飞信又没有官方的接口,所以无法借用移动的官方接口实现短信的免费发送,但是还是有一些破解的接口可以使用的。GET方法:提交格式http://66.zzuobiao.sinaapp.com/get.php?tel=手机号&pwd=密码&aim=对方号码&text=短信内容return 当前状态 多余内容为中国移动返回 可以忽略,若
2014-11-20 20:55:52 2008 3
原创 POJ2309 BST
Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repe
2014-08-03 11:25:22 1389
原创 Binary Tree
DescriptionBackground Binary trees are a common data structure in computer science. In this problem we will look at an infinite binary tree where the nodes contain a pair of integers. Th
2014-08-01 19:35:49 1131
原创 畅通工程
原文请访问:http://xiaoshig.sinaapp.com/?p=174畅通工程Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription某省调查城镇交通状况,得到现有城镇道路统计表,表中列出了每条
2014-08-01 10:18:14 1031
原创 KMP模式匹配 三(串)
原文请访问我的博客:xiaoshig.sinaapp.comKMP模式匹配 三(串)Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit StatusDescription输入一个主串和一个子串,若匹配成功,则找出匹配的趟数和在子串在
2014-07-29 19:14:03 1455
原创 KMP模式匹配 二(串)
原文请访问我的博客:xiaoshig.sinaapp.comKMP模式匹配 二(串)Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit StatusDescription输入一个主串和一个子串,用KMP进行匹配,问进行几
2014-07-29 17:43:51 1226
原创 KMP模式匹配 一(串)
原文请访问我的博客:xiaoshig.sinaapp.comKMP模式匹配 一(串)Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit StatusDescription求子串的next值,用next数组存放,全部输出
2014-07-29 12:33:46 1116
原创 UVA 11401 Triangle Counting
中文详解请访问我的博客:http://xiaoshig.sinaapp.com/?p=128You are given n rods of length 1, 2…, n. You have to pick any 3 of them & build a triangle. How many distinct triangles can you make? Note that, two t
2014-07-28 11:40:05 935
原创 UVA 11538 Chess Queen
中文详解请访问我的博客:http://xiaoshig.sinaapp.com/?p=126You probably know how the game of chess is played and how chess queen operates. Two chess queens are in attacking position when they are on same row, co
2014-07-28 11:16:36 1008
原创 UVA 11549 Calculator Conundrum
原文请访问我的博客:http://xiaoshig.sinaapp.com/?p=115Alice got a hold of an old calculator that can display n digits. She was bored enough to come up with the following time waster.She enters a numbe
2014-07-28 07:47:15 992
原创 UVA 11078 Open Credit System
中文题解请访问我的博客 :http://xiaoshig.sinaapp.com/?p=102In an open credit system, the students can choose any course they like, but there is a problem. Some of the students are more senior than other stu
2014-07-28 00:31:45 1220
原创 Age Sort
中文题解请访问我的博客 :http://xiaoshig.sinaapp.com/?p=98 You are given the ages (in years) of all people of a country with at least 1 year of age. You know that no individual in that country lives for 100 o
2014-07-27 23:00:48 882
原创 Fill the Square
中文题目解释详见我的博客:http://xiaoshig.sinaapp.com/?p=94 In this problem, you have to draw a square using uppercase English Alphabets.To be more precise, you will be given a square grid with some empty bl
2014-07-27 16:36:48 1045
原创 Help is needed for Dexter
原文请访问我的博客 http://xiaoshig.sinaapp.com/DescriptionProblem HHelp is needed for DexterTime Limit: 3 Second Dexter is tired of Dee Dee. So he decided to keep Dee Dee busy in a game. Th
2014-07-27 14:57:05 1218
原创 Spreading the Wealth
Spreading the WealthTime Limit: 6000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu[Submit] [Go Back] [Status] Description F. Spreading
2014-07-24 12:18:52 1234
原创 Commando War
Time Limit: 1000MSMemory Limit: Unknown64bit IO Format: %lld & %llu[Submit] [Go Back] [Status] DescriptionGCommando WarInput: Standard InputOutput: S
2014-07-23 18:38:09 1632
原创 Dragon of Loowater
Dragon of LoowaterTime Limit: 1000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu[Submit] [Go Back] [Status] DescriptionProblem C: The Dragon o
2014-07-23 18:09:07 874
原创 简单除法(简单枚举优化)
//输入正整数n按从小到大的顺序输出所有形如abcde/fghij=n的表达式其中a到j正好是数字0到9的一个排列//输入62输出//79546/01283=62//94739/01528=62//虽然是暴力求解,但是做了一些优化。
2014-07-22 20:24:25 1589
原创 卡片游戏(队列)
#include#includeusing namespace std;queueq;int main(){ int n; cin>>n; for(int i=1;i<=n;i++) q.push(i); while(!q.empty()) { cout<<q.front()<<' '; q.pop(); if(!q.empty())
2014-07-22 16:47:50 1264
原创 暑期培训计划之个人计划
使用算法竞赛入门经典(刘汝佳编)暑期培训计划之个人计划(7.22到8.13)日期周次看书 编程题目 看书完成情况 题目完
2014-07-22 15:36:55 1069
原创 c和c++的输入输出
格式输出: printf(格式控制, 输出表列);%d 十进制数 %md m为指定的宽度 若数据位数小于m,则左端补以空格;若大于m,则按实际位数输出%ld 长整型数据 %mld 指定字段宽度%o 八进制整数形式 %mo%x 十六进制整数形式 %mx%u unsigned型数据,它也可用%o或%x格式输出%c 一个字符 %mc%s 字符串 有几种用法
2014-07-22 15:16:58 1986
原创 Hardwood Species
Hardwood Species(7.1.1)(利用STL中自带的排序功能编程的实验范例)Time Limit:10000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionHardwoods are the botanical grou
2014-07-22 11:47:51 959
原创 Rails
RailsTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere is a famous railway station in PopPush City. Country there is incre
2014-07-21 10:23:18 814
原创 The Dole Queue
The Dole QueueTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit StatusDescription The Dole Queue In a serious attempt to downsi
2014-07-21 08:47:36 1487
原创 Blue Jeans
Blue JeansTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe Genographic Project is a research partnership between IBM and Th
2014-07-18 10:07:41 1859
原创 通过金矿模型介绍动态规划
对于动态规划,每个刚接触的人都需要一段时间来理解,特别是第一次接触的时候总是想不通为什么这种方法可行,这篇文章就是为了帮助大家理解动态规划,并通过讲解基本的01背包问题来引导读者如何去思考动态规划。本文力求通俗易懂,无异性,不让读者感到迷惑,引导读者去思考,所以如果你在阅读中发现有不通顺的地方,让你产生错误理解的地方,让你难得读懂的地方,请跟贴指出,谢谢! ----第一节
2014-07-17 14:42:01 1170
原创 J - MANAGER(2.4.5)
J - MANAGER(2.4.5)Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionOne of the programming paradigm in parallel processing is th
2014-07-15 20:27:36 975
原创 B - Adding Reversed Numbers
B - Adding Reversed NumbersTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionThe Antique Comedians of Malidinesia prefer comedies to
2014-07-15 13:13:01 1067
原创 A - Calendar
A - CalendarTime Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionA calendar is a system for measuring time, from hours and minutes,
2014-07-15 11:02:50 1559
原创 B - Symmetric Order(3.3.1)
B - Symmetric Order(3.3.1)Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionIn your job at Albatross Circus Management (yes, it'
2014-07-14 19:41:57 1028
原创 H - Gold Coins(2.4.1)
H - Gold Coins(2.4.1)Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe king pays his loyal knight in gold coins. On the first
2014-07-14 18:55:56 1251
原创 E - Speed Limit(2.1.1)
E - Speed Limit(2.1.1)Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBill and Ted are taking a road trip. But the odometer in t
2014-07-14 18:54:23 864
原创 A - Red and Black(3.2.1)(搜索)
A - Red and Black(3.2.1)Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere is a rectangular room, covered with square tiles
2014-07-14 18:49:33 823
原创 I - The 3n + 1 problem(2.4.2)
I - The 3n + 1 problem(2.4.2)Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionProblems in Computer Science are often classified a
2014-07-14 15:06:26 830
原创 学习中遇到的c++问题,持续更新
向上取整使用ceil函数。ceil(x)返回的是大于x的最小整数。如: ceil(2.5) = 3 ceil(-2.5) = -2
2014-07-14 12:29:26 1241 8
原创 F - Ride to School(2.1.2)
F - Ride to School(2.1.2)Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionMany graduate students of Peking University are livin
2014-07-14 12:21:33 1483
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人