![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
紫书-字符串
文章平均质量分 84
daguge1
情不知所起,一往而深
展开
-
习题3-4Uva455
1、题目:题目描述 2、暴力枚举即可,注意字段长度可以被总长整除#include <iostream>#include<cstring>using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */char s[原创 2015-04-27 23:07:34 · 423 阅读 · 0 评论 -
习题3-7
1、问题描述: DNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of four different nucleotides, namely Adenine, Thymine, Guanine, and Cytosine as shown in Figur原创 2015-04-27 23:14:13 · 386 阅读 · 0 评论 -
例题3-3
`DescriptionTrung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N(1 < N < 10000) . After that, he counts th原创 2015-04-21 20:42:44 · 291 阅读 · 0 评论 -
习题3-3Uva1225
1、题目描述:点击打开链接 2、本题注意break的应用#include <iostream>#include<cstring>using namespace std;/* run this program using the console pauser or add your own getch, system("pause") or input loop */int s[10];i原创 2015-04-27 23:18:43 · 371 阅读 · 0 评论 -
例题3-2
An organic compound is any member of a large class of chemical compounds whose molecules contain carbon. Themolar mass of an organic compound is the mass of one mole of the organic compound. The mol原创 2015-04-21 20:16:12 · 466 阅读 · 2 评论 -
例题3-1
DescriptionThere is an objective test result such as ``OOXXOXXOOO". An `O' means a correct answer of a problem and an `X' means a wrong answer. The score of each problem of this test is calculat原创 2015-04-21 20:22:37 · 407 阅读 · 0 评论