最近在做个项目,用到jquery
mobile,很陌生对他,问题一个个的来,那就要一个个解决,找了一天这个问题,放可明白:首先明白jqm里面页面跳转默认都是通过ajax请求的,必须重新刷新页面js方可有效,也就是js没有起作用,并不是js本身的问题,下面说说解决方法:在使用jQuery
Mobile...
分类:
Web程序 时间:
2014-05-31 07:49:34
阅读次数:
296
题目:http://poj.org/problem?id=1056题意:判断是否有串是其他串的前缀#include#include#include#include#include#include#include#includeusing
namespace std;struct Node{ i...
分类:
其他好文 时间:
2014-05-31 07:46:48
阅读次数:
227
最近在做个项目,用到jquery
mobile,很陌生对他,问题一个个的来,那就要一个个解决,找了一天这个问题,放可明白:首先明白jqm里面页面跳转默认都是通过ajax请求的,必须重新刷新页面js方可有效,也就是js没有起作用,并不是js本身的问题,下面说说解决方法:在使用jQueryMobile进...
分类:
Web程序 时间:
2014-05-31 06:57:40
阅读次数:
278
一、需求:提供省、市下拉列表,当用户选择省一级下拉列表项后,市下拉列表的各个选项自动变为该省对应的城市列表。二、效果:三、实现:1.省市json数据,来自:http://www.cnblogs.com/jinzhao/archive/2012/04/01/2428142.htmlJs代码/***省市...
分类:
Web程序 时间:
2014-05-31 00:02:35
阅读次数:
471
DescriptionGeorge took sticks of the same
length and cut them randomly until all parts became at most 50 units long. Now
he wants to return sticks to ...
分类:
其他好文 时间:
2014-05-30 23:00:32
阅读次数:
395
IntervalsTime Limit: 5000MSMemory Limit:
65536KTotal Submissions: 6246Accepted: 2542DescriptionYou are given N weighted
open intervals. The ith interv...
分类:
其他好文 时间:
2014-05-30 21:46:55
阅读次数:
399
http://poj.org/problem?id=1026这道题题意是给你一个置换群,再给你一个字符串,输出经过k次置换的字符串。 就是找循环节。 1
#include 2 #include 3 #include 4 #define maxn 3000 5 using namespace s...
分类:
其他好文 时间:
2014-05-30 21:45:37
阅读次数:
249
DescriptionGiven a set of sticks of various
lengths, is it possible to join them end-to-end to form a square?InputThe first
line of input contains N, ...
分类:
其他好文 时间:
2014-05-30 21:21:54
阅读次数:
284
近
日,著名移动技术咨询公司Research2Guidance发布了最新版的《移动医疗应用开发者经济》报告。在过去的两年半里,iOS和Android
两大主流移动平台上的移动医疗应用(以下简称mHealth应用)呈现出爆发式的增长,截止2014年Q1季度,mHealth应用数量已超过10万。本 文综...
分类:
移动开发 时间:
2014-05-30 14:39:14
阅读次数:
277
DescriptionAn ascending sorted sequence of
distinct values is one in which some form of a less-than operator is used to
order the elements from smalle...
分类:
其他好文 时间:
2014-05-30 14:31:10
阅读次数:
297