- 博客(7)
- 收藏
- 关注
转载 VC6.0的调试功能(转)
VC6.0的调试功能1、调试版本调试是一个程序员最基本的技能,其重要性甚至超过学习一门语言。为了调试一个程序,首先必须使程序中包含调试信息。VC生成的可执行文件有两个版本,一种是调试版本即Win32 Debug,VC默认情况下是调试版本,内含调试代码,可以单步执行、跟踪等功能,但生成的可执行文件比较大,代码运行速度较慢。另一种是发行版本即Win32 Release版本,此版本运行速度较快
2012-10-25 21:46:15 1117
原创 1007
题目:求几个点之间的最短距离最蛮力的算法,提交的时候显示超时,算法有待改进更新。时间复杂度为 点数*点数#include #include typedef struct POINT{float x;float y;}POINT;POINT point[100000];int main(){int PointNum =
2012-10-11 22:07:56 367
原创 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 457
原创 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 477
原创 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 419
原创 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 482
原创 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 443
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人