编写题解 1003: [编程入门]密码破译【优雅】 摘要:import java.io.BufferedReader;import java.io.InputStreamReader;public class Main { public static …… 题解列表 2022年12月22日 0 点赞 0 评论 420 浏览 评分:0.0
编写题解 1005: [编程入门]温度转换【这么多答案错误,是忘记c=么?】 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) throws Excep…… 题解列表 2022年12月22日 0 点赞 0 评论 220 浏览 评分:0.0
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j; for(i=0;i<10;i++) { scanf("%d",&a[i]); }…… 题解列表 2022年12月22日 0 点赞 0 评论 386 浏览 评分:9.9
2757:强制类型转换-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> int main() { float n; scanf("%f",&n); …… 题解列表 2022年12月22日 0 点赞 0 评论 737 浏览 评分:8.7
2759:格式输入-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int i; scanf("%d",&i); printf("%c",i); }…… 题解列表 2022年12月22日 0 点赞 0 评论 931 浏览 评分:7.3
求[X,Y]内被除3余1并且被除5余3的整数的和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,i,s=0; scanf("%d%d",&x,&y); for(i=x;i<y;i++) { …… 题解列表 2022年12月22日 0 点赞 0 评论 282 浏览 评分:0.0
亲和数 简单直接的解答 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int M; scanf("%d", &M); while (M--) { int A, B; int sum…… 题解列表 2022年12月22日 0 点赞 0 评论 219 浏览 评分:9.9
元始真解!!!编写题解 1200: 回文串 摘要:###反向扫描——尺取法 #####反向扫描:i、j 方向相反,i 从头到尾,j 从尾到头,在中间相会。也可以把反向扫描的 i、j 指针称为「左右指针」 ##### 注意:用尺取法的最关键之处在于…… 题解列表 2022年12月22日 0 点赞 0 评论 452 浏览 评分:9.9
元始真解!编写题解 1999: 回文判断 摘要:#####解题思路:设反向扫描双指针为i和j,如果s[i]和s[j]相同,则执行i++和j—;如果s[i]和s[j]不同,那么或者删除s[i],或者删除s[j],看剩下的字符串是否是回文串。 ```…… 题解列表 2022年12月22日 0 点赞 0 评论 701 浏览 评分:9.9
3016:for循环问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; int sum = 0; scanf("%d",&a); …… 题解列表 2022年12月22日 0 点赞 0 评论 318 浏览 评分:0.0