码迷,mamicode.com
首页 > 其他好文
VisualSvn+TortoiseSVN的安装说明
一、VisualSvn安装及简单使用下载VisualSvn:VisualSVN-Server-2.5.5.msi系统:Win7系统安装步骤:1、下载VisualSVN-Server-2.5.5服务端安装程序。点击安装,选择默认的选项。2、安装完成后是这样的。看看界面的介绍。3、点击图中红色部分可以打...
分类:其他好文   时间:2015-03-15 21:15:54    阅读次数:130
UITableViewy基本使用小例子
//// MJViewController.m// 01-UITableView01-多组数组展示//// Created by apple on 13-11-28.// Copyright (c) 2013年 itcast. All rights reserved.//#import "MJVie...
分类:其他好文   时间:2015-03-15 21:16:05    阅读次数:104
hdu 2076 夹角有多大(题目已修改,注意读题)
http://acm.hdu.edu.cn/showproblem.php?pid=2076数学题。。。公式推出来就可以AC了。思路:分别求出时针和分针与12点的位置的夹角大小,输出夹角的差值,注意取小于180度的角。代码如下:#includeint main(){ int t; dou...
分类:其他好文   时间:2015-03-15 21:16:23    阅读次数:159
CodeForces 238C World Eater Brothers
题意: 输入n,表示有n个城市,分别为1~n,输入n-1组a,b,表示从a能走到b,求最少改变多少条路使得从其中的两个城市出发能走完所有的城市。(http://blog.csdn.net/metalseed/article/details/8045038%20与建树有关的东西 )解题思路:建立一棵....
分类:其他好文   时间:2015-03-15 21:15:23    阅读次数:231
LA 3135 (优先队列) Argus
将多个有序表合并成一个有序表就是多路归并问题,可用优先队列来解决。 1 #include 2 #include 3 using namespace std; 4 5 const int maxn = 1000 + 10; 6 7 struct Node 8 { 9 int time,...
分类:其他好文   时间:2015-03-15 21:14:23    阅读次数:166
Remove Duplicates from Sorted List
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:其他好文   时间:2015-03-15 21:15:12    阅读次数:123
UVA 10140 - Prime Distance(数论)
10140 - Prime Distance题目链接题意:求[l,r]区间内近期和最远的素数对。思路:素数打表,打到sqrt(Max)就可以,然后利用大的表去筛素数,因为[l, r]最多100W,所以能够去遍历一遍,找出答案。注意1的情况,一開始没推断1,结果WA了代码:#include #incl...
分类:其他好文   时间:2015-03-15 21:13:51    阅读次数:139
[UI基础]UILabel
UILabel的主要作?用是显?一段?文本,因此提供了很多与显?示?文本相关的API. UILabel*oneLabel = [[UILabelalloc]init]; 1、frame oneLabel.frame=CGRectMake(0,0,320,200);//设置oneLabe...
分类:其他好文   时间:2015-03-15 21:15:47    阅读次数:119
hdu 2070 Fibbonacci Number
http://acm.hdu.edu.cn/showproblem.php?pid=2070注意使用双长整型数据就可以了,计算时递归或循环都可以,推荐循环。代码如下:#includelong long int f[55];int main(){ int n; while(scanf("%...
分类:其他好文   时间:2015-03-15 21:12:40    阅读次数:129
Entity Framework 5.0 Code First全面学习
Entity Framework 5.0 Code First全面学习 分类: EF 2013-11-01 17:20 21430人阅读 评论(12) 收藏 举报entity framework.net目录(?)[-]类型发现主键约定关系约定复杂类型约定连接字符串约定默认配置指定数据库名称指定...
分类:其他好文   时间:2015-03-15 21:14:47    阅读次数:182
MonkeyRunner源码分析之工作原理图
http://www.androidchina.net/1315.html
分类:其他好文   时间:2015-03-15 21:14:26    阅读次数:83
Combination Sum
https://leetcode.com/problems/combination-sum/Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the ...
分类:其他好文   时间:2015-03-15 21:11:57    阅读次数:122
[Leetcode]Majority Element
Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume that the arr...
分类:其他好文   时间:2015-03-15 21:12:26    阅读次数:169
Tomcat批处理文件小结
一:嗯,如果你不了解Windows批处理文件,并且想了解一下,请先参看下面的链接资源(我也是因为想了解一下Windows批处理文件是用什么写的?怎么写的?才在园中找的,下面的我觉得写的非常棒!)1)此篇简单明了通俗易懂http://www.cnblogs.com/xinbin/archive/200...
分类:其他好文   时间:2015-03-15 21:14:11    阅读次数:178
Merge Intervals
Merge Intervals问题:Given a collection of intervals, merge all overlapping intervals.思路: 不排序 直接上根据交集的特性 排序后再判断 简单的数学推导我的代码1:public class Solution { ...
分类:其他好文   时间:2015-03-15 21:12:54    阅读次数:109
GeoServer 常见问题总结
Geoserver安装环境Geoserver在部署发布服务时,经常会遇到如下问题,现总结如下:1.忘记了GeoServer Web Admin Page的登陆用户名和密码怎么办?存储位置:C:\Program Files\GeoServer 2.2.2\data_dir\security\users...
分类:其他好文   时间:2015-03-15 21:10:32    阅读次数:145
sudo apt-get update:Could not get lock /var/lib/apt/lists/lock解决办法
今天更新时候出现了点小问题,一开始更新到一半,我嫌速度慢,就取消掉了。更新了sources.list之后再执行sudo apt-get update 提示我出错了E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource tem...
分类:其他好文   时间:2015-03-15 21:11:39    阅读次数:227
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!