题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1822题目意思:有一条 L 厘米长的杆,上面有 n 只蚂蚁,给出每只蚂蚁的...
分类:
其他好文 时间:
2014-08-30 00:01:48
阅读次数:
283
Form1中:一个lable1用来接受Form2中textbox1的信息,button1用来show出Form2Form1中代码:usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Da...
分类:
其他好文 时间:
2014-08-29 23:53:08
阅读次数:
240
今天看到一个java类中定义了接口,写个备忘录,记录一下 1 package com.gxf.test; 2 3 public class Test_interface { 4 public interface show{ 5 public void show(); 6 ...
分类:
编程语言 时间:
2014-08-29 21:23:18
阅读次数:
318
http://tyvj.cn/Problem_Show.aspx?id=1467这题我并不是看题解a的。但是确实从题解得到了启发。一开始我就想到一个正解,设d[i][0]表示i开始走过奇数个点的最短路,d[i][1]表示i走过偶数个点的最短路,那么转移很简单d[v][1]=min(d[v][1], ...
分类:
其他好文 时间:
2014-08-29 14:19:38
阅读次数:
269