摘要:
Problem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are t... 阅读全文
摘要:
gets和puts:都是只能读入或者输出一个字符串,gets可以接受空格,puts自带回车技能。strcy “字符串复制函数” 将字符串2复制到字符串1当中strcpy(str1,str2);字符串1的长度需要足够大,一边有足够的容量来储存被复制的字符串2。字符串2可以是字符数组名,可以以是字符串... 阅读全文