编写题解 1670: 拆分位数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> //定义头文件 int main() { int i,j,k,l; …… 题解列表 2023年01月05日 0 点赞 0 评论 237 浏览 评分:0.0
编写题解 1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> #define n 3 //定义头文件 int main() { in…… 题解列表 2023年01月05日 0 点赞 0 评论 230 浏览 评分:0.0
C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a,b,c; for(i=1000;i<=9999;i++) { …… 题解列表 2023年01月05日 0 点赞 0 评论 295 浏览 评分:0.0
C语言训练-求函数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun(int x){ if(x==1) { return 10; } …… 题解列表 2023年01月05日 0 点赞 0 评论 343 浏览 评分:0.0
根据判断最大公约数是否为一来判断 摘要:解题思路:我觉得最最最简单的思路了注意事项:参考代码:#include <stdio.h>int main(){ int i = 0; for(i=1;i<=40;i++) { …… 题解列表 2023年01月05日 0 点赞 0 评论 257 浏览 评分:0.0
字符串正反连接(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char *fun(char str[]){ char* str1 = str; char* str…… 题解列表 2023年01月05日 0 点赞 0 评论 265 浏览 评分:0.0
立方和不等式 摘要:解题思路:用for循环遍历注意事项:当s==n时,输出的是最大的i;当s>n时,输出i-1;参考代码:#include<iostream>using namespace std;int main(){…… 题解列表 2023年01月05日 0 点赞 0 评论 530 浏览 评分:0.0
多输入输出练习2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define PI 3.1415int main(){ int i,n; double r,s; scanf(…… 题解列表 2023年01月06日 0 点赞 0 评论 283 浏览 评分:0.0
成绩转换(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(~scanf("%d",&n)) { …… 题解列表 2023年01月06日 0 点赞 0 评论 261 浏览 评分:0.0
求e的值简单方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; double e=1,t=1; scanf("%d",&n); for…… 题解列表 2023年01月06日 0 点赞 0 评论 355 浏览 评分:0.0