首页 > 2015年07月31日 > 全部分享
Aizu 1335 Eequal sum sets
Let us consider sets of positive integers less than or equal to n. Note that all elements of a set are different. Also note that the order of element....
分类:其他   时间:2015-07-31 21:51:34    收藏:0  评论:0  赞:0  阅读:254
A. Case of the Zeros and Ones----解题报告
A. Case of the Zeros and OnesDescriptionAndrewid the Android is a galaxy-famous detective. In his free time he likes to think about strings containing...
分类:其他   时间:2015-07-31 21:51:24    收藏:0  评论:0  赞:0  阅读:497
STL练习题续
//zjnu 1399//sort 数组可用//vector sort(vector)#include#includeusing namespace std;int s[10000000];int main(){ int n; int i; int k=0; while(sc...
分类:其他   时间:2015-07-31 21:51:14    收藏:0  评论:0  赞:0  阅读:233
Balanced Lineup---poj3264线段树基础
题目链接求对应区间最大值与最小值的差;#include#include#include#include#define INF 0xfffffff#define N 50010using namespace std;#define Lson r>1; }}a[N*4];int MIN,MAX;v...
分类:其他   时间:2015-07-31 21:51:04    收藏:0  评论:0  赞:0  阅读:181
课堂随笔02--c#中string作为引用类型的特殊性
using System;namespace Test{ class Test1 { static void Main(string[] args) { string str1 = "123"; string str2 = str1; str1 = "456"; Console....
分类:Windows开发   时间:2015-07-31 21:50:54    收藏:0  评论:0  赞:0  阅读:230
[转]基于全注解的Spring3.1 mvc、myBatis3.1、Mysql的轻量级项目
摘要 对于现在主流的j2ee企业级开发而言,ssh(struts+hibernate+spring)依然是一个事实的标准。由struts充当的mvc调度控制;hibernate的orm持久化映射;spring的ioc和aop的容器环境近乎于完美的框架组合。但是,在实际的开发工作中,由于程序猿对于技术...
分类:数据库技术   时间:2015-07-31 21:50:44    收藏:0  评论:0  赞:0  阅读:264
junit测试spring头部注入方式
@RunWith(SpringJUnit4ClassRunner.class)@ContextConfiguration(locations = { "classpath:/applicationContext.xml" })@TestExecutionListeners({ DependencyI...
分类:编程语言   时间:2015-07-31 21:50:34    收藏:0  评论:0  赞:0  阅读:197
ruby 功力修炼
建表ActiveRecord::Schema.define do drop_table :hosts if table_exists? :hosts create_table :hosts do |table| table.column :name, :string end drop_...
分类:其他   时间:2015-07-31 21:50:24    收藏:0  评论:0  赞:0  阅读:203
POJ 2444 The Accomodation of Students 黑白染色+二分匹配 簡單題
有n個人,編號為1~n,其中有m對朋友,現在給出m對朋友,問能不能把這n個人分成2個組,使得每一個組裡面的人都是互相不認識的?若不可以,輸出No若可以,問現在將認識的人兩兩配對,輸出最多可以有多少對說白了,這道題就是首先要判斷是不是二分圖,不是的話輸出No,是的話輸出最大匹配判斷二分圖:用黑白染色法...
分类:其他   时间:2015-07-31 21:49:44    收藏:0  评论:0  赞:0  阅读:403
(easy)LeetCode 219.Contains Duplicate II
Given an array of integers and an integerk, find out whether there there are two distinct indicesiandjin the array such thatnums[i] = nums[j]and the d...
分类:其他   时间:2015-07-31 21:49:34    收藏:0  评论:0  赞:0  阅读:333
SDWebImage第三方库使用注意的一些问题
1、利用"UIImageView+WebCache.h"加载图片数据 例如: UIImage *placeHolderImg = [UIImage imageNamed:@"avatar_default_small"]; [cell.imageView sd_setImageWithURL:...
分类:Web开发   时间:2015-07-31 21:48:54    收藏:0  评论:0  赞:0  阅读:226
(图解)windows下自定义Eclipse主题
之前用过一些编辑器如SublimeText,IDE如phpstorm,IDEA等;这些工具给我的感觉就是,除了给予这些工具应有的功能外,给予开发者更友好,更舒服的界面。Eclipse很早就开始使用了,之前在使用时,对它自带的经典界面倒没什么特殊的感觉,因为同期在使用的VS也差不多那个样子,后来觉.....
分类:Windows开发   时间:2015-07-31 21:48:44    收藏:0  评论:0  赞:0  阅读:612
【linux高级程序设计】(第十三章)Linux Socket网络编程基础 2
BSD Socket网络编程API创建socket对象int socket (int __domain, int __type, int __protocol) :成功返回socket文件描述符,失败返回-1.参数1:socket对象使用的地址簇或协议簇 常用的有PF_LOCAL(本机通信)...
分类:系统服务   时间:2015-07-31 21:48:34    收藏:0  评论:0  赞:0  阅读:253
生成验证码的方法集合(一)
用户在注册或登录时,为了进一步保证安全性,越来越多的网站开始采用动态生成的图形码或附加码进行验证。验证码技术就是在服务器端生成一个随机数,并将其保存在内存中,然后将随机数写入设计好的图片中,发送给浏览器,并以图片形式显示给最终用户。前几天,在完成一个利用Script进行用户注册及登录的验证时,在.....
分类:其他   时间:2015-07-31 21:48:24    收藏:0  评论:0  赞:0  阅读:377
hadoop学习笔记---20150731
cygwin上准备hadoop安装环境,基本上参照文章做就OK,这边主要是遇到的问题http://blog.csdn.net/success041000/article/details/68304541 ssh-host-config 错误: There are still ssh processe...
分类:其他   时间:2015-07-31 21:48:14    收藏:0  评论:0  赞:0  阅读:171
设计模式——设计模式总结
设计模式总结 设计模式(Design Patterns)是可复用面向对象软件的基础,是一套被反复使用、多数人知晓的、经过分类编目的、代码设计经验的总结。使用设计模式是为了可重用代码,让代码更容易被他人理解、保证代码可靠性。 毫无疑问,设计模式于己于他人于系统都是多赢的,设计模式使代码编制真正工程化....
分类:其他   时间:2015-07-31 21:48:05    收藏:0  评论:0  赞:0  阅读:260
点评点赞功能的基本实现------个人观点
对于做这个功能的时候,我认为很简单,结果错误百出,我认为是notifyDataSetChanged()方法调用失败,结果打印日志,发现该方法被调用了。然后我很费解,既然已经调用,为何不刷新出新的数据呢????最后的最后,当然是问度娘,度娘她告诉我,关于点赞功能的实现,她知道的其实并不多,而点赞功能....
分类:其他   时间:2015-07-31 21:47:54    收藏:0  评论:0  赞:0  阅读:365
Advanced Touch Input(高级触摸输入)
iOS 9 Advance Touch Input,从性能和策略两个不同的方面,降低触摸到的点呈现到界面上的延迟。
分类:其他   时间:2015-07-31 21:47:44    收藏:0  评论:0  赞:0  阅读:303
atan与atan2的区别
相比较ATan,ATan2究竟有什么不同?本篇介绍一下ATan2的用法及使用条件。对于tan(θ) =y/x:θ=ATan(y/x)求出的θ取值范围是[-PI/2, PI/2]。θ=ATan2(y, x)求出的θ取值范围是[-PI, PI]。当 (x,y) 在第一象限, 0 <θ<PI/2.当(x,...
分类:其他   时间:2015-07-31 21:47:34    收藏:0  评论:0  赞:0  阅读:282
C语言 学生管理系统
//学生成绩管理系统//用户名:enjoy65//密码: enjoy65#include#include#include//定义全局变量x,i,j,nchar x; int i,j, n;struct student //定义结构体{ int id ; char name...
分类:编程语言   时间:2015-07-31 21:47:24    收藏:0  评论:0  赞:0  阅读:235
2076条   上一页 1 ... 10 11 12 13 14 ... 104 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!