码迷,mamicode.com
首页 >  
搜索关键字:day one    ( 33377个结果
ios成长之每日一遍(day 1)
Hello world开始。这里不讨论如何创建项目导入项目。由于趁上班时间打酱油所以也不谈细节, 只谈具体项目的实现与关键流程的解析, 只供本人实际程况使用。不喜请移驾。首先来谈谈AppDelegate.h与AppDelegate.m 文件AppDelegate.h:#import @class B...
分类:移动开发   时间:2014-05-24 02:16:56    阅读次数:290
vim摘要
The "." command is one of the most simple yet powerful commands in Vim. Itrepeats the last change. For instance, suppose you are editing an HTML filea...
分类:其他好文   时间:2014-05-23 22:52:50    阅读次数:372
ios成长之每日一遍(day 2)
接着下来简单说说Label(相当于android的textview)和button的使用, 由于都是与上篇的AppDelegate一致, 所以这一篇就说说ViewController与xib的使用呗。BIDViewController.h#import @interface BIDViewContr...
分类:移动开发   时间:2014-05-23 12:37:14    阅读次数:399
ZOJ 3329 - One Person Game
题意:每次筛三个骰子面分别为k1,k2,k3,如果三个骰子的值分别为a,b,c则得分置0,否则得到分数加上三个骰子的值的和,如果得分大于等于n则结束游戏。设E[i]表示当前得到i分时结束游戏的期望。则E[i]=sum{Pk*(E[i+k]+1)|k为三个骰子可能取得的分数且不包括a,b,c这种情况}...
分类:其他好文   时间:2014-05-23 11:48:09    阅读次数:303
Candy
There are N children standing in a line. Each child is assigned a rating value. You are giving candies to these children subjected to the following requirements: Each child must have at least one candy. Children with a higher rating get more candies than...
分类:其他好文   时间:2014-05-22 11:00:49    阅读次数:285
12周 项目4
#include using namespace std; class Date { public: Date(int y=0,int m=0,int d=0); void SetDate(int y,int m,int d); void PrintDate(); protected: int year; int month; int day; }...
分类:其他好文   时间:2014-05-22 08:36:19    阅读次数:201
LR杂记-用LoadRunner编写socket应用的测试脚本
DWORD WINAPI mythread( LPVOID lpParameter)    //客户线程{    struct My my;    memcpy(&my,lpParameter,sizeof(My));        printf("One client connect!\n");    char str1; ......
分类:其他好文   时间:2014-05-22 06:31:02    阅读次数:319
LeetCode: Sudoku Solver [036]
【题目】 Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that there will be only one unique solution. A sudoku puzzle... ...and its solution numbers marked in red. ...
分类:其他好文   时间:2014-05-20 17:07:34    阅读次数:335
LeetCode:Single Number II
题目:     Given an array of integers, every element appears three times except for one. Find that single one.     Note:     Your algorithm should have a linear runtime complexity. Could you implem...
分类:其他好文   时间:2014-05-20 16:22:52    阅读次数:241
Leetcode:Plus One
戳我去解题Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit ...
分类:其他好文   时间:2014-05-20 10:42:14    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!