码迷,mamicode.com
首页 >  
搜索关键字:incorrect integer va    ( 17090个结果
BNUOJ 4215 最长公共连续子序列
最长公共连续子序列Time Limit:1000msMemory Limit:65536KB64-bit integer IO format:%lld Java class name:Main给你两个序列S1和S2,长度分别是L1,L2 (1 2 #include 3 #include 4 #...
分类:其他好文   时间:2014-07-16 21:54:37    阅读次数:192
【leetcode刷题笔记】Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:其他好文   时间:2014-07-16 20:44:52    阅读次数:158
BNUOJ 19297 Code Refactoring
Code RefactoringTime Limit:3000msMemory Limit:131072KBThis problem will be judged on UVA. Original ID:1087964-bit integer IO format:%lld Java class na...
分类:其他好文   时间:2014-07-16 20:36:39    阅读次数:175
Java中primitive type的线程安全性
Java中primite type,如char,integer,bool之类的,它们的读写操作都是atomic的,但是有几个例外:long和double类型不是atomic的,因为long和double都是8字节的,而在32位的CPU上,其机器字长为32位,操作8个字节需要多个指令操作。++i或者i...
分类:编程语言   时间:2014-07-16 19:59:19    阅读次数:209
Pascal 杨辉三角
用于打印杨辉三角的程序,有多种算法仅提供一种PRogram yh (input,ouput);var m,n,c:integer;BeginFor m:=0 TO 10 Do Begin c:=1; write(c:40-3*m); For n:=1 To m Do begin c:=c+(m-n+...
分类:其他好文   时间:2014-07-16 19:38:04    阅读次数:148
Pascal小游戏 不要消灭星星
不要消灭星星 Pascal小游戏 Chaobs改编自pascal吧控制台小游戏嘛,就当是练习一下结构化的写法。program wxtw;uses crt;type zbdy=record x,y:integer; end;var n,i,x,y,t,sjs:integer; ml:char;zb: ...
分类:其他好文   时间:2014-07-16 19:37:07    阅读次数:294
Pascal小游戏 打飞机
一个经典的打飞机游戏(1)Pascal代码十分经典,有一种街机的感觉奇葩青年的又一控制台神作。usescrt;typelist=recordty,ax:integer;end;xy=recordbx,by:integer;end;l1=array[1..4,1..5]ofchar;l2=array[...
分类:其他好文   时间:2014-07-16 19:36:19    阅读次数:353
常见算法用Pascal实现
基本算法 这些都是非常基本的的算法,希望所有学习的人都能理解! 1.数论算法 求两数的最大公约数 function gcd(a,b:integer):integer; begin if b=0 then gcd:=a else gcd:=gcd (b,a mod b); end ; 求两数的最小公倍...
分类:其他好文   时间:2014-07-16 19:35:42    阅读次数:665
Pascal小游戏之奇葩的RPG
Pascal吧友作品 一个小RPGChaobs转载varplife,plifemax,patt,pre:integer;gr,ex,exmax:integer;alife,alife1,aatt,are:integer;name,fname:string;na:text;code,co:string...
分类:其他好文   时间:2014-07-16 19:31:32    阅读次数:305
Pascal游戏 大富翁MUD
大富翁MUD Pascal源码 Chaobs改编自百度网友作品此源码非Chaobs原创,但转载时请仍注明出处。估计90后以后就没有孩子知道MUD了。program wxtw;uses crt;type zbdy=record x,y:integer; end;var n,i,x,y,t,sjs:in...
分类:其他好文   时间:2014-07-14 10:07:03    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!