码迷,mamicode.com
首页 > 2015年07月15日 > 全部分享
【分块打表】bzoj1662 [Usaco2006 Nov]Round Numbers 圆环数
#includeusing namespace std;#define BN 380000const int table[]={0,185815,378154,561654,744350,886427,1075474,1310828,1513089,1705514,1867434,1971454,2...
分类:其他好文   时间:2015-07-15 20:56:26    阅读次数:526
神经猫 系列信息
本文陆续收集《神经猫》的相关资料,帮助敏捷大拇指( http://www.swifthumb.com 国内排名第一的swift开发人员社区)用户学习。期待大家也开发出火爆的应用来。 ... ...本文陆续收集《神经猫》的相关资料。帮助敏捷大拇指(http://www.swifthumb.com)用户...
分类:其他好文   时间:2015-07-15 20:54:58    阅读次数:130
OC -- NSArray NSMutableArray
NSArray NSMutableArray的声明注:NSArray与NSMutableArray中只能存放OC对象类型数据,不能存放int, float, double, struct, enum类型数据NSArray *array1 = @[@"first", @"second", @"thir...
分类:其他好文   时间:2015-07-15 20:54:54    阅读次数:129
Webform——服务器控件与客户端控件
Webform,即BS,浏览器应用。 关于服务器和客户端,在Webform 中, 服务器就相当于后台(也就是编辑C#代码的地方), 客户端相当于前台(也就是Html页面)。 用法: ①如果想在服务器控件里调用客户端控件的js或Jquery函数,必须在服务器的控件中加上onClientClick属性....
分类:Web程序   时间:2015-07-15 20:53:53    阅读次数:140
Android图片浏览器之图片删除
Android开发,从缩略图中删除手机SD卡中的图片,并实时同步文件信息。
分类:移动开发   时间:2015-07-15 20:53:04    阅读次数:213
[leedcode 84] Largest Rectangle in Histogram
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:其他好文   时间:2015-07-15 20:55:22    阅读次数:105
UIImagePickerController---图片添加---初级使用
1.创建UIImageView-(void)creatPhotoImageView{ self.photoImageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 20, 80, 80)]; self.photoImageView.b...
分类:其他好文   时间:2015-07-15 20:54:33    阅读次数:126
今日竞赛—解题报告
B - B Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 554BDescriptionOhana Matsumae is trying t...
分类:其他好文   时间:2015-07-15 20:54:11    阅读次数:123
Number of Digit One
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n.For example:Given n = 13,Return 6...
分类:其他好文   时间:2015-07-15 20:52:00    阅读次数:115
nyoj 16 最长上升子序列变形
经典矩形嵌套问题,先排序再求LIS。需要注意在枚举j的时候x和y都要小于i才行。 1 #include 2 #include 3 using namespace std; 4 5 const int N = 1000; 6 int dp[N]; 7 8 struct Node 9 {10 ...
分类:其他好文   时间:2015-07-15 20:51:32    阅读次数:102
LeetCode#234 Palindrome Linked List
Problem Definition: Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space?思路:为了达到O(1)...
分类:其他好文   时间:2015-07-15 20:52:39    阅读次数:104
一,开拓者
返回目录:http://www.cnblogs.com/wantnon/p/4649254.htmlbin和src是软件工程师,目前他们为“天堂”公共事业局工作。两人边干活边聊天。此时一片漆黑,仿佛空无一物,两人话音带着回声。bin: 我们所处的世界本来就是一个程序,我们却又在程序里写程序。src:...
分类:其他好文   时间:2015-07-15 20:51:39    阅读次数:153
BZOJ 1406 密码箱
大致看一下题目可以发现题目相当简单,似乎一个暴力就OK,但是一看数据范围没戏了,仔细进行一下分析发现这是一道数学题。题目的意思是:A²=kn+1,将之简单整理一下可以得到A²-1=kn,(A+1)*(A-1)=kn,这样看来由于A是整数,所以我们只需对kn进行因数分解,之后相信大家都知道了。 程序如...
分类:其他好文   时间:2015-07-15 20:51:50    阅读次数:113
MVC三级下拉菜单
控制器端代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc;using MvcApplication8.Models;namespace Mv...
分类:Web程序   时间:2015-07-15 20:50:46    阅读次数:127
gcc/linux内核中likely、unlikely和__attribute__(section(""))属性
针对linux内核likely()及unlikely()做了详细的讲述,大致了解一点gcc优化方面的知识
分类:系统相关   时间:2015-07-15 20:50:57    阅读次数:184
DB2Error
一个有相互关系的引用+098 01568 动态SQL语句用分号结束+100 02000 没有找到满足SQL语句的行+110 01561 用DATA CAPTURE定义的表的更新操作不能发送到原来的子系统+111 01590 为2型索引设置了SUBPAGES语句+117 01525 要插入的值的个数不...
分类:数据库   时间:2015-07-15 20:51:25    阅读次数:247
Java学习中遇到的问题与后期思考
把自己在学习Java过程中遇到的各种问题列出来,写上自己各个时期对这个问题的想法,直到最后解决,应该会对坚持学习这件事有推动的。看到讲Java基础的一章,有一段代码里写 private Point center(P65),Point是啥东西啊,这个位置不应该是数据类型么?之所以不理解可能是前面讲.....
分类:编程语言   时间:2015-07-15 20:51:54    阅读次数:155
2062条   上一页 1 ... 20 21 22 23 24 25 26 ... 122 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!