码迷,mamicode.com
首页 >  
搜索关键字:zoj 3686 a simple tr    ( 14369个结果
Js 设置class,兼容ie,火狐的方式
var trs = document.getElementsByTagName("tr");trs[0].className="color2"; //设置css样式。 不兼容火狐!兼容火狐,ie的写法为:var cls = trs[0].getAttribute('class');// 添加clas...
分类:Web程序   时间:2014-07-08 23:54:03    阅读次数:366
ZOJ Problem Set - 3321 并查集
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3321CircleTime Limit:1 Second Memory Limit:32768 KBYour task is so easy. I will give...
分类:其他好文   时间:2014-07-08 23:04:16    阅读次数:264
js实现表格的选中一行-------Day58
table的优势在于,它有tr和td,而div内部则没有了,但是div里面的可以用id获取,那table操作的值那么多,难道要一个个设div么,当然不用,选中一行就欧了...
分类:Web程序   时间:2014-07-08 19:57:15    阅读次数:201
JavaScript通过ID和name设置样式
JavaScript通过ID和name设置样式 1、说明 (1)根据所提供的元素的id值,返回对该元素的引用或节点 document.getElementById("tr_th") (2)根据参数中的标记,返回对一组元素的引用或节点 document.getElementsByTagName("td") 2、实现源码 JavaScript通过ID和...
分类:编程语言   时间:2014-07-08 17:16:41    阅读次数:196
【OC语法快览】五、设计类接口
Designing a Class Interface        设计类接口 The Objective-C syntax for creating a class is very simple. It typically comes in two parts.  创建类的语法是很简单的,通常包括两部分。 The class interface is u...
分类:其他好文   时间:2014-07-08 16:24:27    阅读次数:168
zoj 3537 Cake (凸包判定+区间dp)
Cake Time Limit: 1 Second      Memory Limit: 32768 KB You want to hold a party. Here's a polygon-shaped cake on the table. You'd like to cut the cake into several triangle-shaped parts for th...
分类:其他好文   时间:2014-07-08 15:36:15    阅读次数:298
ZOJ Monthly, October 2010 ABEFI
ZOJ 3406 Another Very Easy Task #include #include const int N = 100005; char s[N]; int main() { bool f = 0; int size = 0; char ch; while(scanf("%c", &ch)!=EOF) { if( !(ch >= 'a' && c...
分类:其他好文   时间:2014-07-08 13:52:14    阅读次数:265
[家里蹲大学数学杂志]第065期南开大学2011年高等代数考研试题参考解答
1($20'$) 设 ${\bf A}$ 为秩为 $1$ 的 $n$ 阶方阵, ${\bf A}$ 的迹 $\tr({\bf A})=a\neq 0$. 试求出 ${\bf A}$ 的所有特征值 (写出重数).解答: 由 $\rank({\bf A})=1$ 知 ${\bf A}$ 的任意两行均线性...
分类:其他好文   时间:2014-07-08 00:50:44    阅读次数:246
2014 Super Training #9 F A Simple Tree Problem --DFS+线段树
原题: ZOJ 3686http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3686这题本来是一个比较水的线段树,结果一个mark坑了我好几个小时。。哎。太弱。先DFS这棵树,树形结构转换为线性结构,每个节点有一个第一次遍历的时间...
分类:其他好文   时间:2014-07-08 00:46:56    阅读次数:295
2014 Super Training #6 G Trim the Nails --状态压缩+BFS
原题: ZOJ 3675http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3675由m#include #include #include #include #include using namespace std;#defin...
分类:其他好文   时间:2014-07-08 00:31:26    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!