摩尔斯电码—(C语言)详细题解 摘要:解题思路:接收输入的字符串后,按照字符'|'来分割注意事项:输出结果应为小写的字符参考代码:#include<stdio.h>#include<string.h>int main(){…… 题解列表 2022年10月20日 0 点赞 0 评论 790 浏览 评分:0.0
题目 1013: [编程入门]Sn的公式求和—常规求解方法 摘要:解题思路:比如n为4时,则Sn为2*10^0*4+2*10^1*3+2*10^2*2+2*10^3*1注意事项:指数用pow函数参考代码:#include<stdio.h> #include<mat…… 题解列表 2022年10月20日 0 点赞 0 评论 413 浏览 评分:0.0
蓝桥杯历届试题-回文数字 (Java) 摘要: import java.util.Scanner; public class Main { public static void main(String…… 题解列表 2022年10月20日 0 点赞 0 评论 367 浏览 评分:0.0
题目 1015: [编程入门]求和训练—常规求解方法 摘要:解题思路:3个for循环相加注意事项:把变量进行赋值时,不仅需要注意把值赋给另一个变量后的类型,还需要注意式子运算时的类型参考代码:#include<stdio.h> #include<math.h…… 题解列表 2022年10月20日 0 点赞 0 评论 915 浏览 评分:0.0
利用strlen函数即可求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void fun1(char charater[100]){ int i; i=str…… 题解列表 2022年10月21日 0 点赞 0 评论 395 浏览 评分:0.0
真 小白做法 摘要:解题思路:注意事项:参考代码:int x,i=0; scanf("%d",&x); int y=x; while(x!=0){ x/=10; i++; …… 题解列表 2022年10月21日 0 点赞 0 评论 360 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int N,i,j,k; scanf("%d",&N); for(i=1;i<=N;i++)…… 题解列表 2022年10月21日 0 点赞 0 评论 364 浏览 评分:0.0
编写题解 1141: C语言训练-百钱百鸡问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int cock=0, hen=0, chicken=99; for (; cock < 20; cock++)…… 题解列表 2022年10月21日 0 点赞 0 评论 304 浏览 评分:0.0
题目 1016: [编程入门]水仙花数判断—常规求解方法 摘要:解题思路:while循环注意事项:指数用pow函数或者其他形式参考代码:#include<stdio.h> #include<math.h> int main(void) { int i…… 题解列表 2022年10月21日 0 点赞 0 评论 410 浏览 评分:0.0
编写题解 2885: 矩阵转置 C语言 摘要:解题思路:输入-转换-输出注意事项:n行m列在转换后就是m行n列参考代码:#include<stdio.h>int main(){ int m,n; int a[101][101]; …… 题解列表 2022年10月21日 0 点赞 1 评论 493 浏览 评分:0.0