自定义函数之字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int f(char a[1000],int sz,char b[5]){ int i=…… 题解列表 2022年11月01日 0 点赞 0 评论 309 浏览 评分:9.9
利用结构体排序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; typedef struct a{ char m[20]; int …… 题解列表 2022年11月01日 0 点赞 0 评论 418 浏览 评分:0.0
密码破译(chr()和ord()函数的应用) 摘要:解题思路:先将输入的i转化为ascll值后加4,再转化为字母注意事项:chr()函数:将ascll码转化为字符 ord()函数:将字符转化为ascll码简单代码:inp=in…… 题解列表 2022年11月01日 1 点赞 0 评论 370 浏览 评分: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 评论 288 浏览 评分: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 评论 349 浏览 评分: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 评论 677 浏览 评分: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 评论 296 浏览 评分:0.0
循环嵌套练习:输出九九乘法表 摘要:解题思路:本题运用了多重嵌套,用for循环来完成,外层循环完成一次时,内层循环完成一轮注意事项:①题目要求,注意宽度为2,并且左对齐,用-2表示,且每个表达式之间有一个空格,在printf中再敲一个空…… 题解列表 2022年11月01日 0 点赞 0 评论 572 浏览 评分:7.3
编写题解 2927: 二分法求函数的零点 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double fun(double x){ return pow(x,5)-15*po…… 题解列表 2022年11月01日 0 点赞 0 评论 555 浏览 评分: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 评论 296 浏览 评分:0.0