Program Stone; var i,j,k,l,n,m,xmi,big,sma:longint; h:array[1..50000]of longint; tf:array[0..16]of longint; max,min:array[1..50000,0..16]of longint; f
分类:
其他好文 时间:
2016-03-02 22:06:01
阅读次数:
162
题目百度把,太长了。程序有点长,写的很渣。就不注释了。 1 Program Stone; 2 3 var n,qu,ji,tot,root,move:longint; 4 5 s:array[0..5000000]of char; 6 7 lc,rc,f,o:array[0..5000000]of
分类:
其他好文 时间:
2016-03-02 22:03:00
阅读次数:
223
1 Program poj2112; 2 3 var n,c,m,mid,s,t:longint; 4 5 map,a:array[1..300,1..300]of longint; 6 7 cur,dis:array[1..300]of longint; 8 9 vh:array[0..300]o
分类:
其他好文 时间:
2016-03-02 21:48:22
阅读次数:
125
http://poj.org/problem?id=2891 解线性模方程组。 比较坑爹,数据比较大,很容易溢出。 1 Program poj2891; 2 3 var m:int64; 4 5 a,r:array[1..30000000]of int64; 6 7 ans,x,y,lcm:int6
分类:
其他好文 时间:
2016-03-02 21:43:25
阅读次数:
149
http://162.105.81.212/JudgeOnline/problem?id=3461 1 Program stone; 2 var i,j,k,n,ans:longint; 3 w,s:ansistring; 4 b:array[1..10000]of longint; 5 Begin
分类:
其他好文 时间:
2016-03-02 21:35:19
阅读次数:
154
题目: 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数。 array: 待查找的二维数组target:查找的数字。查找到返回true,查找不到返回false。 思路: 1 2 8 9
分类:
编程语言 时间:
2016-03-02 18:13:50
阅读次数:
163
Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ? times. You may assume that the
分类:
其他好文 时间:
2016-03-02 18:00:42
阅读次数:
101
[key]UIApplicationShortcutItems[/key] [array] [dict] [key]UIApplicationShortcutItemIconType[/key] [string]UIApplicationShortcutIconTypeShare[/string]
分类:
移动开发 时间:
2016-03-02 14:56:47
阅读次数:
169
js数组元素的添加和删除一直比较迷惑,今天终于找到详细说明的资料了,先给个我测试的代码^-^var arr = new Array();arr[0] = "aaa";arr[1] = "bbb";arr[2] = "ccc";//alert(arr.length);//3arr.pop();//al
分类:
编程语言 时间:
2016-03-02 10:44:51
阅读次数:
157
学习概要: 1.了解自己主动类型转换的有哪些 2.了解主要的流程控制语句 3.实例:实现日历表格的写法 自己主动类型转换 1)整型转字符串 echo $num."abc"; 2)字符串转整型 $str+3; 3)转布尔类型 为假情况 0 "" "0" false array() null 没有定义
分类:
Web程序 时间:
2016-03-02 10:42:33
阅读次数:
181