密码破译(chr()和ord()函数的应用) 摘要:解题思路:先将输入的i转化为ascll值后加4,再转化为字母注意事项:chr()函数:将ascll码转化为字符 ord()函数:将字符转化为ascll码简单代码:inp=in…… 题解列表 2022年11月01日 1 点赞 0 评论 368 浏览 评分:0.0
自己写的c++最暴力版 摘要:参考代码:#include<iostream>#include<string>using namespace std;int n;int main(){ cin>>n; int a=65; strin…… 题解列表 2022年11月01日 0 点赞 1 评论 286 浏览 评分:9.9
A+B for Input-Output Practice (I) 摘要:解题思路:EOF表示为文件结束符注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=E…… 题解列表 2022年11月01日 0 点赞 0 评论 347 浏览 评分:0.0
矩阵加法(C语言代码) 摘要:```c #include void input(int(*arr)[100], int n,int m) { for (int i = 0; i < n; i++) { …… 题解列表 2022年11月01日 0 点赞 0 评论 674 浏览 评分:9.9
[编程入门]三个数最大值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int a[3],i,max; for(i=0;i<3;i+…… 题解列表 2022年11月01日 0 点赞 0 评论 295 浏览 评分:0.0
循环嵌套练习:输出九九乘法表 摘要:解题思路:本题运用了多重嵌套,用for循环来完成,外层循环完成一次时,内层循环完成一轮注意事项:①题目要求,注意宽度为2,并且左对齐,用-2表示,且每个表达式之间有一个空格,在printf中再敲一个空…… 题解列表 2022年11月01日 0 点赞 0 评论 570 浏览 评分:7.3
编写题解 2927: 二分法求函数的零点 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double fun(double x){ return pow(x,5)-15*po…… 题解列表 2022年11月01日 0 点赞 0 评论 552 浏览 评分:0.0
定义函数求最小公倍数以及最大公约数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int max(int a,int b) { int r=0; while(a%b!=0) { r=a%b; …… 题解列表 2022年11月01日 0 点赞 0 评论 293 浏览 评分:0.0
三角形的面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,y1,x2,y2,x3,y3,s,a,b,c,z; …… 题解列表 2022年11月01日 0 点赞 0 评论 427 浏览 评分:0.0
C语言联合if语句正常解法 摘要:解题思路:无非就是一个从零开始一个从最大开始,一个递增一个递减一直互相交换字符注意事项:这里面交换字符的中间量记得用char参考代码:#include<stdio.h>#include<string.…… 题解列表 2022年11月01日 0 点赞 0 评论 318 浏览 评分:9.9