码迷,mamicode.com
首页 > 其他好文
Codeforces Round #273 (Div. 2)
A. Initial Bet题意:给出5个数,判断它们的和是否为5的倍数,注意和为0的情况 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 typedef lo...
分类:其他好文   时间:2015-03-09 00:26:58    阅读次数:204
序列化、反序列化的版本控制以及序列化、反序列化集合对象
当涉及到跨进程甚至是跨域传输数据的时候,我们需要把对象序列化和反序列化。 首先可以使用Serializable特性。 [Serializable] public class Person { public string _firstName; public string _secondName; /...
分类:其他好文   时间:2015-03-09 00:25:41    阅读次数:122
快捷键
快捷键1.Option+cmd+回车打开辅助视图相当于点击了cmd+回车取消辅助视图2.cmd+0打开或者取消左边的导航栏3.option+cmd0打开或者取消右边的属性视图
分类:其他好文   时间:2015-03-09 00:27:05    阅读次数:118
2015-3-8 log
Read the HOPE model paper.Collect the character statistics of a news corpus to do classification. Libsvm is still running.Modify iKids code.Start read...
分类:其他好文   时间:2015-03-09 00:26:16    阅读次数:120
actor binary tree lab4
forward 与 ! (tell) 的差异,举个例子:Main(当前actor): topNode ! Insert(requester, id=1, ele = 2)topNode: root ! Insert(requester, id=1, ele = 2)对于root而言,Insert消息...
分类:其他好文   时间:2015-03-09 00:27:22    阅读次数:279
一个简单C程序的汇编代码分析
几个重要的寄存器eip - 用于存放当前所执行的指令地址esp - 栈(顶)指针寄存器ebp - 基址(栈底)指针寄存器简单的C程序 1 int g(int x) 2 { 3 return x + 10; 4 } 5 6 int f(int x) 7 { 8 return g(x); 9 ...
分类:其他好文   时间:2015-03-09 00:25:05    阅读次数:209
USACO Section1.2 Milking Cows 解题报告
milk2解题报告—— icedream61 博客园(转载请注明出处)--------------------------------------------------------------------------------------------------------------...
分类:其他好文   时间:2015-03-09 00:25:23    阅读次数:210
USACO Section1.2 Transformations 解题报告
transform解题报告—— icedream61 博客园(转载请注明出处)------------------------------------------------------------------------------------------------------------...
分类:其他好文   时间:2015-03-09 00:22:26    阅读次数:197
UIDatePicker
UIDatePicker1.Locale设置DatePicker的地区,即设置DatePicker显示的语言。//1.跟踪所有可用的地区,取出想要的地区NSLog(@"%@",[NSLocaleavailableLocaleIdentifiers]);//2.设置日期选择控件的地区[datePick...
分类:其他好文   时间:2015-03-09 00:22:04    阅读次数:158
A1064. Complete Binary Search Tree (30)
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes w...
分类:其他好文   时间:2015-03-09 00:24:54    阅读次数:207
hdu 2020~2024
hdu 2020对三个字符按 ASCII 码排序,水1 #include2 int main()3 {4 int n,a[54],i;5 for (i=0;i 2 int m(int); 3 int main() 4 { 5 int n,a,sum,i; 6 whil...
分类:其他好文   时间:2015-03-09 00:21:22    阅读次数:196
UIImageView属性
UIImageView属性1.Image设置图片,默认显示UIImageView*_imageView=[[UIImageViewalloc]init];_imageView.image=[UIImageimageNamed:@"me.png"];2.highlightedImage设置高亮状态下显...
分类:其他好文   时间:2015-03-09 00:23:01    阅读次数:129
LeetCode-137 Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2015-03-09 00:24:08    阅读次数:129
UIButton属性
UIButton属性1.UIButton状态:UIControlStateNormal//正常状态UIControlStateHighlighted//高亮状态UIControlStateDisabled//禁用状态UIControlStateSelected//选中状态UIControlState...
分类:其他好文   时间:2015-03-09 00:23:08    阅读次数:187
ucos任务调度原理及任务就绪表
之前我们说到,系统在运行的时候会直接依靠任务的优先级来找到任务的控制块从而实现任务的调用切换等功能,那么接下来的问题就是,系统是怎么找到并确定某一个特定的最高优先级任务并确定他的优先级的呢 为了解决这个问题,ucos采用了一种比较巧妙地方式,叫做就绪任务表,定义如下 OS_EXT OS_PRIO ....
分类:其他好文   时间:2015-03-09 00:21:12    阅读次数:1345
ucos任务控制块详解
Ucos实现多任务的基础包括几个方面:任务控制块,任务堆栈,中断,任务优先级,一一说起 首先,任务控制块的结构如下//系统在运行一个任务的时候,按照任务的优先级获取任务控制块,再在任务堆栈中获得任务代码指针typedef struct os_tcb {//任务控制块 OS_STK *OSTCBStk...
分类:其他好文   时间:2015-03-09 00:21:29    阅读次数:304
开学第一周总结
码代码上:没啥作为。。。几道树的题目改了两天一直都在不明原因RE。。。。这么一卡导致OJ都不想刷了。。。。索性就去看C#了PDF的书看的不爽啊。。。就淘宝上买书了。。。一个不小心就买了¥180+。。。(网上下了一大堆PDF,一本都没读完。果然能让人用心看的还是纸质书)还不是很习惯C#的风格,总感觉有...
分类:其他好文   时间:2015-03-09 00:23:25    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!