using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows.Forms;namespace Common{ ///
/// DataGrid...
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows.Forms;namespace Common{ ///
/// 列表视图操作类 ...
分类:
其他好文 时间:
2014-05-08 19:30:25
阅读次数:
337
http://acm.hdu.edu.cn/showproblem.php?pid=30622sat判定性问题模板#include #include
#include #include #include #include using namespace std ;struct node { i...
分类:
其他好文 时间:
2014-05-08 19:24:07
阅读次数:
363
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows.Forms;namespace Common{ ///
/// 复选框操作类 ...
分类:
其他好文 时间:
2014-05-07 20:22:28
阅读次数:
345
昨天有在开发的软件生产线生产流程,RFID扫描IC卡的数据,当中有用到jQuery获取一般处理程序(ashx)的JSON数据。今有把它写成一个小例子,望需要的网友能参考。在网站中,创建一个一般应用程序ashx:命名空间:using
System.Data;using System.Collectio...
分类:
Web程序 时间:
2014-05-07 16:55:32
阅读次数:
452
#include
#include
using namespace std;
class Point //定义坐标点类
{
public:
Point():x(0),y(0) {};
Point(double x0, double y0):x(x0),y(y0){};
void PrintPoint(); //输出点的信息
double getx()
{
...
分类:
其他好文 时间:
2014-05-07 16:14:20
阅读次数:
267
The Morning Commute
The Chef commutes to work every day using the city's underground metro. The schedule for the trains has recently been changed and he wants to know how long it will take to tra...
分类:
其他好文 时间:
2014-05-07 15:37:11
阅读次数:
406
做个记录,写个示例using System;class Rubbish{ public
void Say() { Console.Write("Hello"); }}static class RubbishExtensions{ public
static...
分类:
其他好文 时间:
2014-05-07 14:57:23
阅读次数:
279
题目大意:
求区间最大子区间的和。
思路分析:
记录左最大,右最大,区间最大。
注意Q_L 和 Q_R 就好。
#include
#include
#include
#include
#define lson num<<1,s,mid
#define rson num<<1|1,mid+1,e
#define maxn 55555
using ...
分类:
其他好文 时间:
2014-05-07 12:36:16
阅读次数:
379
第七章编程练习答案
7.1编写一个程序,用户不停输入两数,直到有0出现为止,计算调和平均数
//7.1编写一个程序,用户不停输入两数,直到有0出现为止,计算调和平均数
#include
using namespace std;
double average (unsigned x, unsigned y)
{
return (2.0 * x * y / (x + y));
}
i...
分类:
编程语言 时间:
2014-05-07 12:03:52
阅读次数:
727