码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
POJ 2136
水水更健康#include #include #include #include #include #include #include using namespace std;int LetC[30];char str[85];int main(){ memset(LetC,0,sizeof(Let...
分类:其他好文   时间:2015-02-19 23:00:44    阅读次数:358
hdu3698 Let the light guide us dp+线段树优化
http://acm.hdu.edu.cn/showproblem.php?pid=3698Let the light guide usTime Limit: 5000/2000 MS (Java/Others)Memory Limit: 62768/32768 K (Java/Others)Tot...
分类:其他好文   时间:2015-02-19 21:52:51    阅读次数:340
Swift -2- 控制流
控制流使用if和switch作为条件控制。使用for-in、for、while、do-while作为循环。小括号不是必须的,但主体的大括号是必需的。let individualScores = [75, 43, 103, 87, 12]var teamScore = 0for score in in...
分类:编程语言   时间:2015-02-18 15:17:17    阅读次数:224
Codeforces Round #292 (Div. 1)---A. Drazil and Factorial
Drazil is playing a math game with Varda.Let’s define for positive integer x as a product of factorials of its digits. For example, .First, they choose a decimal number a consisting of n digits that co...
分类:其他好文   时间:2015-02-18 13:02:15    阅读次数:103
Codeforces Round #292 Div1 A
Drazil is playing a math game with Varda. Let’s define for positive integer x as a product of factorials of its digits. For example, . First, they choose a decimal number a consisting of n digits that contain...
分类:其他好文   时间:2015-02-18 06:13:14    阅读次数:172
【SICP练习】44 练习2.3
?? 练习2.3 我们并不必急于写出点什么,先来回过头看看书吧。第56页说到了一种称为按愿望思维的强有力的综合策略。在这道题里,我们就可以假设已经写好了能够表示矩形的代码,以及能够求矩形长和宽的函数。 于是像先定义出add-rat一样,我们先定义出求矩形的周长和面机的函数。 (define(get-perimeter x) (let ((length (rectang...
分类:其他好文   时间:2015-02-17 22:24:03    阅读次数:191
hdu3374---String Problem
Problem Description Give you a string with length N, you can generate N strings by left shifts. For example let consider the string “SKYLONG”, we can generate seven strings: String Rank SKYLONG 1 K...
分类:其他好文   时间:2015-02-17 21:06:58    阅读次数:152
PAT1061. Dating
Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". It took him only a min...
分类:其他好文   时间:2015-02-17 17:38:02    阅读次数:213
shell变量的替换
1 shell变量基础shell变量是一种很“弱”的变量,默认情况下,一个变量保存一个串,shell不关心这个串是什么含义。所以若要进行数学运算,必须使用一些命令例如let、declare、expr、双括号等。shell变量可分为两类:局部变量和环境变量。局部变量只在创建它们的shell中可用。而环...
分类:系统相关   时间:2015-02-17 12:49:14    阅读次数:184
字典实战和UIKit初探
ios中数组和字典的应用 Application schedule  类别 子项 类别名称 优先级 数据包  contacts    entertainment 接触UIKit 学习用Swift调用Cocoa Touch import UIKit let colors =  [ ] var backView = UI...
分类:其他好文   时间:2015-02-17 11:40:36    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!