405. Convert a Number to Hexadecimal Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method ...
分类:
其他 时间:
2017-04-09 22:08:04
收藏:
0 评论:
0 赞:
0 阅读:
261
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege ...
分类:
移动平台 时间:
2017-04-09 22:07:44
收藏:
0 评论:
0 赞:
0 阅读:
265
概述:Web service是一个平台独立、低耦合的、自包含的、基于可编程的web的应用程序,可使用开放的XML(标准通用标记语言下的一个子集)标准来描述、发布、发现、协调和配置这些应用程序,用于开发分布式的互操作的应用程序。Web service技术,能使得运行在不同机器上的不同应用无须借助附加的 ...
分类:
Web开发 时间:
2017-04-09 22:07:24
收藏:
0 评论:
0 赞:
0 阅读:
229
一、题目: 结对项目开发-四则运算四 把程序变成一个网页程序,用户通过设定参数,就可以得到各种题目,并可实现在线答题并评判。 注:这是一个两人结对开发的项目,开发人员:曾凯 刘雨鑫 二、程序设计思想: (1)功能分析: 1.这是一个可以在线答题的web版四则运算程序,用户可以通过设点一些参数来生成题 ...
分类:
其他 时间:
2017-04-09 22:06:26
收藏:
0 评论:
0 赞:
0 阅读:
220
326. Power of Three Given an integer, write a function to determine if it is a power of three. Follow up: Could you do it without using any loop / rec ...
分类:
其他 时间:
2017-04-09 22:06:07
收藏:
0 评论:
0 赞:
0 阅读:
165
2.2字符串 字符串和数值是Python处理的最为常见的数据类型。 1、字符串字面量 它是字符构成的一个序列,并视其为一个整体。它可以表示为单引号(')或者双引号(")包围的一个字符序列。当字符串使用双引号定义时,单引号可以直接出现在字符串中,但双引号则不可以。相应的由单引号定义的字符串里面可以包含 ...
分类:
其他 时间:
2017-04-09 22:05:46
收藏:
0 评论:
0 赞:
0 阅读:
243
53. Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the a ...
分类:
其他 时间:
2017-04-09 22:05:30
收藏:
0 评论:
0 赞:
0 阅读:
220
1 #include <iostream> 2 #include <algorithm> 3 #include <cstring> 4 #include <cstdio> 5 #include <bitset> 6 #include <vector> 7 #include <queue> 8 #in ...
分类:
其他 时间:
2017-04-09 22:04:56
收藏:
0 评论:
0 赞:
0 阅读:
243
459. Repeated Substring Pattern Given a non-empty string check if it can be constructed by taking a substring of it and appending multiple copies of t ...
分类:
其他 时间:
2017-04-09 22:04:38
收藏:
0 评论:
0 赞:
0 阅读:
227
9.#include struct student { int num; char name[20]; char sex; int age; }; struct student stu[3]={{10101,"Li Lin",'M',18},{10102,"Zhang Fang",'M',19},{... ...
分类:
其他 时间:
2017-04-09 22:04:11
收藏:
0 评论:
0 赞:
0 阅读:
279
在所有CMakelist.txt的最顶部加入如下语句(子目录中也需要加): # 指定交叉编译的目标系统,此处为arm-linux-gnueabihf,依情形设置SET(CMAKE_SYSTEM_NAME arm-linux-gnueabihf) set(triple arm-linux-gnueab ...
分类:
其他 时间:
2017-04-09 22:03:58
收藏:
0 评论:
0 赞:
0 阅读:
365
70. Climbing Stairs You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many dist ...
分类:
其他 时间:
2017-04-09 22:03:38
收藏:
0 评论:
0 赞:
0 阅读:
270
28. Implement strStr() Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 思 ...
分类:
其他 时间:
2017-04-09 22:03:04
收藏:
0 评论:
0 赞:
0 阅读:
194
1:__new__ 类创建对象的一个执行的方法,一般不需要重写这个函数。当继承的类是不可变,但是又想修改该对象。 基本语法 def __new__(cls ,[args,]]) ####写一个将字母全部大写的类#### ####写一个类,当参数是字符串的时候,返回每个字符串的ASSLL值综合#### ...
分类:
其他 时间:
2017-04-09 22:02:42
收藏:
0 评论:
0 赞:
0 阅读:
479
1.Book类 2.hibernate.cfg.xml【注解方式不需要Book.hbm.xml映射文件,但需要在*.cfg.xml中引入:<mapping class="cn.siggy.pojo.Book" />】 3.测试代码 4.测试结果 ...
分类:
其他 时间:
2017-04-09 22:02:21
收藏:
0 评论:
0 赞:
0 阅读:
252
第一步:使用font-face声明字体@font-face {font-family: 'iconfont';src: url('iconfont.eot'); /* IE9*/src: url('iconfont.eot?#iefix') format('embedded-opentype'), ...
分类:
其他 时间:
2017-04-09 22:01:50
收藏:
0 评论:
0 赞:
0 阅读:
231
首先非常感谢李刚老师出的这本书《HTML5/CSS3/JavaScript讲义》,今天读了第一章节的内容,趁热打铁,总结一下。HTML5的时代已经到来,它对所有的前端开发人员来说是一种福音。HTML5致力于解决跨浏览器问题,可以部分取代JavaScript,HTML5致力于把浏览器变成一个前端执行程序..
分类:
Web开发 时间:
2017-04-09 21:43:01
收藏:
0 评论:
0 赞:
0 阅读:
255
一、mysql存储引擎介绍:MySQL在5.1(不包括)之前的版本中,存储引擎是需要在MySQL安装的时候就必须和MySQL一起被编译并同时被安装的。但是从MySQL5.1开始,MySQLAB对其结构体系做了较大的改造,并引入了一个新的概念:插件式存储引擎体系结构。MySQLAB在架构改造的时候,让存..
分类:
数据库技术 时间:
2017-04-09 21:42:46
收藏:
0 评论:
0 赞:
0 阅读:
305
一、下载安装Python,地址https://www.python.org/downloads/windows/:安装包分为3类:web-basedinstaller:需要通过联网完成安装的executableinstaller:通过可执行文件.exe方式安装(此处以python-3.6.1-amd64.exe为例)embeddablezipfile:嵌入式版本,可以集成到其他应用..
分类:
编程语言 时间:
2017-04-09 21:42:27
收藏:
0 评论:
0 赞:
0 阅读:
244
HTTP存在的问题1、无法保证访问到受信网站当我们要访问一个网站时,如何才能保证这个网站就是我们要的?假设场景如下:2、无法保证数据私密性和完整性HTTP协议的数据在传输过程中使用明文传输,很容易被抓取和篡改,可使用tcpdump工具进行验证。HTTPS的解决思路1、网站受信鉴权..
分类:
Web开发 时间:
2017-04-09 21:42:02
收藏:
0 评论:
0 赞:
0 阅读:
227