番18 C语言程序设计教程(第三版)课后习题8.5 (C++代码) 摘要:解题思路: 使用一个暂时的数组来保存输入的逆序,通过将输入的数组第一个元素保存再暂时的数组的末尾,用i来控制暂时的数组往前移动.注意事项:参考代码:#include <iostream>…… 题解列表 2019年04月07日 0 点赞 0 评论 1222 浏览 评分:8.0
Hello, world! (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int arr[100]; int n=0; while(scanf("%d",&arr[n]…… 题解列表 2019年04月07日 0 点赞 0 评论 671 浏览 评分:0.0
母牛的故事 (C语言代码) 摘要:解题思路:一年一年的走,不要去多考虑其他注意事项:新的一年,成年母牛=原成年母牛+第3年母牛,第3年母牛=第2年母牛,第2年母牛=第1年母牛第一年的母牛=成年母牛参考代码:#include<stdio…… 题解列表 2019年04月07日 0 点赞 0 评论 845 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) ————笔记重新看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct student{ int number; int data…… 题解列表 2019年04月07日 0 点赞 0 评论 1072 浏览 评分:0.0
P1005 (C++代码)我说的很细,简单的dp。。 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstring>#include<cmath>using namespace …… 题解列表 2019年04月07日 0 点赞 0 评论 1148 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题10.4 (C语言代码) 摘要:简单明了!!!#include<stdio.h>int main(){ void Mobile(int *array,int n,int m);//声明函数 int n,m; int i; scan…… 题解列表 2019年04月07日 0 点赞 0 评论 1071 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:若str1=str2,则返回零;若str1<str2,则返回负数;若str1>str2,则返回正数。matlab中函数,strcmp(s1,s2) 判断两个字符串s1和s2是否相同,相同返回…… 题解列表 2019年04月07日 0 点赞 0 评论 688 浏览 评分:0.0
番16 A+B for Input-Output Practice (VII) (C++代码) 摘要:解题思路: c++训练,注意要多输出一个空行 注意事项:参考代码:/*Your task is to Calculate a  题解列表 2019年04月07日 0 点赞 0 评论 1276 浏览 评分:9.9
【回文数(二)】 (C语言代码) 摘要:解题思路:核心思想就是数组进行加法运算注意事项:参考代码:#include<stdio.h> #include<string.h> int step=0; int n; int judged(…… 题解列表 2019年04月07日 0 点赞 0 评论 990 浏览 评分:0.0
番17 A+B for Input-Output Practice (C++代码) 摘要:解题思路: c++练习,无异,输出多个endl而已;注意事项:参考代码:#include <iostream> using namespace std; int ma…… 题解列表 2019年04月07日 0 点赞 0 评论 661 浏览 评分:0.0