随笔分类 -  Simple Algorithm

摘要:1 // 如下程序中的for语句未修改前为:for(j=0;j!=i&&j 3 4 #include 5 6 using namespace std; 7 double fanshu(double x[], double y[], int n) 8 { 9 double sums =... 阅读全文
posted @ 2014-04-13 23:37 惟吾德馨‘ 阅读(589) 评论(0) 推荐(0)
摘要:1 #include 2 #include 3 #include 4 using namespace std; 5 void jiema(string s) 6 { 7 cout = 48 && s[j + 1] A;37 int p = 1;38 int j = 0;39... 阅读全文
posted @ 2014-03-30 13:31 惟吾德馨‘ 阅读(388) 评论(0) 推荐(0)