自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

转载 VC6.0的调试功能(转)

VC6.0的调试功能1、调试版本调试是一个程序员最基本的技能,其重要性甚至超过学习一门语言。为了调试一个程序,首先必须使程序中包含调试信息。VC生成的可执行文件有两个版本,一种是调试版本即Win32  Debug,VC默认情况下是调试版本,内含调试代码,可以单步执行、跟踪等功能,但生成的可执行文件比较大,代码运行速度较慢。另一种是发行版本即Win32 Release版本,此版本运行速度较快

2012-10-25 21:46:15 1072

原创 1007

题目:求几个点之间的最短距离最蛮力的算法,提交的时候显示超时,算法有待改进更新。时间复杂度为 点数*点数#include #include typedef struct POINT{float x;float y;}POINT;POINT point[100000];int main(){int PointNum =

2012-10-11 22:07:56 353

原创 1087(Super jumpinng ,jumping ,jumping)

题目:输入一组数字(a1、a2、a3……an ),按照绝对增序的方式选出一组子数据(b0、b1……bm)(b0  代码部分:#include #include using namespace std; int main(){ int Number,i; int result;  int input[1024],sum[1024];  whil

2012-06-20 08:41:47 442

原创 1099

#include #include using namespace std;void gcd(int &a ,int &b );int getlen( int  a);void main(){int n;while( cin>>n ){int resultN =  1 ,resultM = 1 ;for ( int i = n

2012-06-19 15:26:04 465

原创 1018

#include #include using namespace std;int main(){int CaseNumber;int num;long result;cin>>CaseNumber;while(CaseNumber -- ){ cin>>num;if ( num == 1 ){result =

2012-06-18 16:40:19 397

原创 1019(多个数的最小公倍数)

#include using namespace std;int gcd(int a ,int b);int main(){ int CaseNum; //case 数目 int number;  //数字个数 int number1,result=1; cin>>CaseNum; while( CaseNum-- ) {  cin>>number;

2012-06-18 11:25:55 464

原创 1020(encode substring)

#include using namespace std;int main(){ int CaseNumber ; char str[10000],OutputStr[10000]; int len ; int j,k; cin>>CaseNumber; while( CaseNumber != 0 ) {    cin>>str; //input

2012-06-18 09:12:44 427

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除