码迷,mamicode.com
首页 >  
搜索关键字:god ray    ( 1370个结果
零基础学python-1.6 错误的程序
这节来讨论一下当程序出现错误的时候是怎样的? 1.还是以上一章节的代码作为例子 print("hello world") print("i am ray") print("i love China \n" * 8) print("welcome to my class") print(over") 最后一句那里,明显少了一个双引号,点击F5或者Run Module之后,会出现下面情...
分类:编程语言   时间:2015-08-10 09:30:01    阅读次数:125
xml元素
一:什么是xml元素属性 XML 元素指的是从(且包括)开始标签直到(且包括)结束标签的部分。 元素可包含其他元素、文本或者两者的混合物。元素也可以拥有属性。  Harry Potter  J K. Rowling  2005  29.99  Learning XML  Erik T. Ray  2003  39.95 在上例中,和 ...
分类:其他好文   时间:2015-08-09 12:42:40    阅读次数:118
swift -- Tuple 元组
let tuple1 = ("As god name", "2015/08/08", true, 16) // 定义元组let tuple3 = (name: "As god name", time: "08/08", bool: true, number: 10) // 定义元组let log.....
分类:编程语言   时间:2015-08-09 00:10:40    阅读次数:147
swift -- 定义空字符串 hasPrefix hasSuffix trim split join range
// 定义空的字符串var str1 = ""var str2 = String()str1.isEmpty // 判断字符串是否为空// 输出字符串中所有的字符var str3 = "As god name"for c in str3{ println(c)}Int.max // Int类...
分类:编程语言   时间:2015-08-07 00:01:42    阅读次数:700
zoj3299 Fall the Brick
Time Limit: 3 Seconds      Memory Limit: 32768 KB Now the God is very angry, so he wants to punish the lazy, greedy humans. He chooses to throw some lines of bricks (just down from the very high Heav...
分类:其他好文   时间:2015-08-06 13:21:46    阅读次数:119
LA3938 "Ray, Pass me the dishes!" (线段树区间合并)
题目:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=22105 题意:给定整数n和m,给出一个n个元素的序列,查询m次给定区间[L,R]的最大连续和的位置[x,y],有多个区间输出x最小的,还有多个的话输出y最小的。 分析:每个节点存8个信息,最大连续和、最大后缀和、最大前缀和、区间和、前缀末位置、后缀首位置、最大连续和...
分类:其他好文   时间:2015-07-31 20:20:05    阅读次数:182
数据结构与算法-线性表的实现(1)
今天来说说线性表的实现 这里以List作为例子   package com.ray.testobject; public class List { private int length; private Man[] array; public int getLength() { return length; } public void setLengt...
分类:编程语言   时间:2015-07-31 01:32:32    阅读次数:170
Swift 2 有哪些新特性
在WWDC我们发现Swift团队没有浪费时间在无谓的地方,而是致力于改善Swift 2。我们将会为你编写和录制很多关于Swift 2的教程,但在此期间我想强调Swift最令人兴奋的改变,为你可以在秋天迁移到Swift 2做准备。错误处理正如Ray在WWDC 2015 Initial Impressi...
分类:编程语言   时间:2015-07-22 14:31:32    阅读次数:208
【Lua基础】
functionfunction Susake() print("God")endSusake()表达式--算术运算符--[[二元运算符:+ - * / ^ (加减乘除幂)一元运算符:- (负值)运算符的操作数都是实数--]]--关系运算符--[[ = == ~=nil只和自己相等比较数字...
分类:其他好文   时间:2015-07-19 14:56:56    阅读次数:124
暑假集训第一周比赛C题http://acm.hust.edu.cn/vjudge/contest/view.action?cid=83146#problem/C
C - 学Crawling in process... Crawling failed Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription Ray又对数字的列产生了兴...
分类:Web程序   时间:2015-07-17 22:18:51    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!