今天遇到的问题,包明明存在却突然报找不到包的错误,重启eclipse无法解决,Refresh也不行。最后是通过Project-Clean解决掉的。上面是一篇文章,列举了一系列的方法。
Where ClassName was my imported class. I’m using the MyEclipse Workbench 5.5.1 on Eclipse 3.2. Here are...
分类:
系统相关 时间:
2014-05-12 14:33:14
阅读次数:
471
#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else ...
分类:
其他好文 时间:
2014-05-12 14:12:35
阅读次数:
379
#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else ...
分类:
其他好文 时间:
2014-05-12 06:30:08
阅读次数:
232
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Windows;using
System.Windows.Controls;using System.Wind...
分类:
其他好文 时间:
2014-05-12 04:19:45
阅读次数:
244
将Object转换为XDocment对象代码如下:C# – Object to XDocument 1
using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using
System.Text; 5 usin...
分类:
Web程序 时间:
2014-05-12 04:11:31
阅读次数:
371
简单来说,就是在c#客户端winform中加载一个webBrowser1,然后通过webBrowser1中对页面的点击js效果触发c#的函数响应。亲测通过。
C#代码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Dr...
//方法一
//对每个形如 (A*a+ B)* a^k的数,前面的A 没有意义的,只有B
//才有可能继续被用来作为未来的因子,所以每次只需要保留比a小的B 就够了。代码如下:
#include
#include
#include
using namespace std;
#ifdef ONLINE_JUDGE
#d...
分类:
其他好文 时间:
2014-05-11 13:29:39
阅读次数:
280
八数码0.0,我又来水博客了。
IDA*算法,A*为曼哈顿距离,判重用康拓展开。
#include
#include
#include
#include
#include
using namespace std;
int a[4][4];
int dx[]={0,0,-1,1};
int dy[]={-1,1,0,0};
char s[]="123804765";
int end[4]...
分类:
其他好文 时间:
2014-05-11 06:20:57
阅读次数:
334
题意:求在两边人数不相差超过1个的情况下,实力尽量相等的情况
思路:从实力和的一半开始类背包操作
#include
#include
#include
#include
using namespace std;
const int MAXN = 45010;
const int MAXM = 110;
int a[MAXM];
int dp[MAXN][MAXM];
int n;
...
分类:
其他好文 时间:
2014-05-11 05:02:03
阅读次数:
279
// boost2.cpp : 定义控制台应用程序的入口点。
//boost gregorian_date usage
//made by davidsu33 2014-5-10
#include "stdafx.h"
#include
#include
#include
#include
#include
using namespace std...
分类:
其他好文 时间:
2014-05-11 03:46:57
阅读次数:
814