不断试错,要注意字符串长度是80 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char a[80]; int i; sc…… 题解列表 2022年10月04日 0 点赞 0 评论 479 浏览 评分:9.9
编写题解 1094: 字符串的输入输出处理 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { …… 题解列表 2022年10月04日 0 点赞 1 评论 605 浏览 评分:8.4
入门算法,简单易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double x1,x2,a,b,c,d,t; scanf("%lf…… 题解列表 2022年10月04日 0 点赞 0 评论 698 浏览 评分:9.9
优质题解 【C语言】数的读法:简单的逆向思维处理方式 - DotcppXF 摘要:【解题思路】 ① 题目其实很简单,但是直接做起来很麻烦,因为各种特殊情况都需要单独加判断进行处理; ② 正常的解题方式可将输入的数当作字符串处理,然后从高位读向低位,但我个…… 题解列表 2022年10月04日 0 点赞 0 评论 1393 浏览 评分:9.9
此题有个小坑 答案错误50的可以看过来 #MarkDown编辑器基本使用说明**首先学习一个函数**/*原型:intstrcmp(constchar*s1,constchar*s2);头文件:#include功能:用来比较两个字符串参数:s1、s2为两个进行比较的字符串返回值:若s1、s2字符串相等, 题解列表 2022年10月04日 0 点赞 2 评论 691 浏览 评分:9.9
实数的打印(java暴力) 摘要:解题思路:注意事项:参考代码: import java.util.Scanner; public class Main{ public static void main(Strin…… 题解列表 2022年10月04日 0 点赞 1 评论 454 浏览 评分:9.9
1015-求和训练 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef long long LL;LL sum(int a){ LL res=0; f…… 题解列表 2022年10月04日 0 点赞 0 评论 441 浏览 评分:0.0
1016-水仙花数判断 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a,b,c=3; …… 题解列表 2022年10月04日 0 点赞 0 评论 481 浏览 评分:0.0
1017-完数的判断 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >>n; for(int i=2;i…… 题解列表 2022年10月04日 0 点赞 0 评论 523 浏览 评分:0.0
1018-有规律的数列求和 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >>n; int a[n]={2,3},b[n]…… 题解列表 2022年10月04日 0 点赞 0 评论 472 浏览 评分:0.0