番12 A+B for Input-Output Practice (III) (C++代码) 摘要:解题思路: c++训练, 与其他输入相比,多了个break跳出循环语句注意事项:参考代码:#include <iostream> using namesp…… 题解列表 2019年04月07日 0 点赞 0 评论 867 浏览 评分:0.0
番13 A+B for Input-Output Practice (IV) (C++代码) 摘要:解题思路: c++训练,不定项数相加,用while循环配合for循环来实现注意事项:参考代码:#include <iostream> using namespace std; …… 题解列表 2019年04月07日 0 点赞 0 评论 701 浏览 评分:0.0
番17 A+B for Input-Output Practice (C++代码) 摘要:解题思路: c++练习,无异,输出多个endl而已;注意事项:参考代码:#include <iostream> using namespace std; int ma…… 题解列表 2019年04月07日 0 点赞 0 评论 666 浏览 评分:0.0
【回文数(二)】 (C语言代码) 摘要:解题思路:核心思想就是数组进行加法运算注意事项:参考代码:#include<stdio.h> #include<string.h> int step=0; int n; int judged(…… 题解列表 2019年04月07日 0 点赞 0 评论 995 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.2 (C语言代码) 摘要:解题思路:若str1=str2,则返回零;若str1<str2,则返回负数;若str1>str2,则返回正数。matlab中函数,strcmp(s1,s2) 判断两个字符串s1和s2是否相同,相同返回…… 题解列表 2019年04月07日 0 点赞 0 评论 693 浏览 评分:0.0
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 评论 1079 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) ————笔记重新看 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct student{ int number; int data…… 题解列表 2019年04月07日 0 点赞 0 评论 1077 浏览 评分:0.0
明明的随机数 (C++代码)STL中的set不是刚刚合适嘛 摘要:解题思路: C++中的set容器对输入的数自动排序并去掉重复的注意事项:参考代码:#include<iostream> #include<set> using namespa…… 题解列表 2019年04月13日 0 点赞 0 评论 1215 浏览 评分:0.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 评论 672 浏览 评分:0.0
蓝桥杯算法提高VIP-数组输出 (小白易懂) 摘要:解题思路:注意事项:1·因为是双重循环,所以在判断时要注意两次连着退出。2·输出的是绝对值最大的数的绝对值!参考代码:#include<stdio.h>#include<math.h>int main…… 题解列表 2019年04月07日 1 点赞 0 评论 866 浏览 评分:0.0