密码-题解(C语言代码)傻瓜写法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void fun(char *code);int main (){ char code[100]…… 题解列表 2020年09月10日 0 点赞 0 评论 827 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要:解题思路:用一个与原数组等长的数组分成两部分(0到n-m-1和n-m到n-1)重新装入原数组的数据。注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int…… 题解列表 2020年09月10日 0 点赞 0 评论 523 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>void work(int a[],int b[],int n,int m){ int i…… 题解列表 2020年09月10日 0 点赞 0 评论 920 浏览 评分:0.0
A+B for Input-Output Practice (I)-题解(C++代码) 摘要:解题思路: 为避免题目可能的一些坑(比如输入数字大于int表示的范围),特地使用了long long int注意事项: #define 语句 可以 将代码中 LL 换成 l…… 题解列表 2020年09月10日 0 点赞 0 评论 1255 浏览 评分:0.0
A+B for Input-Output Practice (II)-题解(C++代码) 摘要:解题思路: opTimes 表示操作次数,可以作为模板使用~注意事项: 这种格式可以很好的解决 n 次操作的问题(n由题目输入给定),花点时间理解 while(opTime…… 题解列表 2020年09月10日 0 点赞 0 评论 1189 浏览 评分:0.0
A+B for Input-Output Practice (III)-题解(C++代码) 摘要:解题思路: (都过一年了...最近又想回来看看) 还是很简单的一道题,题意为:若输入的两个操作数都为0则不处理并终止。理所当然地加一个if判断即可。注意事项: …… 题解列表 2020年09月10日 0 点赞 0 评论 669 浏览 评分:0.0
A+B for Input-Output Practice (IV)-题解(C++代码) 摘要:解题思路: 题目还是很简单的,没必要开个数组~注意事项: 看看注释就懂啦参考代码:#include<iostream> using namespace std; int…… 题解列表 2020年09月10日 0 点赞 0 评论 811 浏览 评分:0.0
[编程入门]三个字符串的排序-题解(C语言代码) 摘要:#include<stdio.h>#include<math.h>#include<stdlib.h>#include<string.h>void strshot(char * str[]) //冒泡…… 题解列表 2020年09月10日 0 点赞 0 评论 1698 浏览 评分:0.0
A+B for Input-Output Practice (V)-题解(C++代码) 摘要:解题思路:注意事项: 见注释参考代码:#include<iostream> using namespace std; int main() { // operation …… 题解列表 2020年09月11日 0 点赞 0 评论 609 浏览 评分:0.0
[编程入门]有规律的数列求和-题解(C语言代码) 摘要:解题思路:前一个数的分子分母相加=后一个数的分子,前一个数的分子=后一个数的分母。注意事项:注意在循环中不能出现a=b; b=a+b;这样的思想。参考代码:#include<stdio.h>in…… 题解列表 2020年09月11日 0 点赞 0 评论 540 浏览 评分:0.0