[编程入门]有规律的数列求和----一看就懂 摘要:解题思路:主要观察分子分母的变化规律。注意事项:分子分母变化时注意采用临时变量参考代码:public static void main(String[] args) { Scanner in…… 题解列表 2021年10月09日 0 点赞 0 评论 310 浏览 评分:0.0
回文串回文串回文串 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[256]; int n,i; int t=0; scanf("…… 题解列表 2021年10月09日 0 点赞 0 评论 526 浏览 评分:9.9
编写题解 1201: 回文数(一) 摘要:解题思路:数字转换为字符串 倒置和判断回文两个函数 注意事项:参考代码:#include "stdio.h"#include "string.h"#include "stdlib.h"void NIZ…… 题解列表 2021年10月08日 0 点赞 0 评论 315 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取 C 通俗易懂 摘要:解题思路:依次比较输入字符中的单个字符与五个元音字母,若相同则输出。注意事项:注意数组越界。参考代码:#include <stdio.h> #include <stdio.h> int main(…… 题解列表 2021年10月08日 0 点赞 3 评论 298 浏览 评分:8.0
简单的数学题 摘要:参考代码:public void distance1() { Scanner sc = new Scanner(System.in); while (sc.hasNext()) {…… 题解列表 2021年10月08日 0 点赞 0 评论 507 浏览 评分:0.0
[编程入门]完数的判断 小白写的^_^ 摘要:解题思路:通过写相应的代码求出对应的完数,再进行循环注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,n; c=0; scanf("%d",&n);…… 题解列表 2021年10月08日 0 点赞 0 评论 285 浏览 评分:8.0
1013 让我试试发题解能加多少exp 摘要:解题思路:咋算都行 注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a,i,sum=0; scanf("%d"…… 题解列表 2021年10月08日 0 点赞 0 评论 675 浏览 评分:8.0
数字逆序输出(3个for循环解决) 摘要:解题思路:1.for(i=1;i<11;i++) { scanf("%d",&a[i]); }第一个for语句实现输入10个数字。2.for(i=1;i<6;i++) …… 题解列表 2021年10月08日 0 点赞 0 评论 1037 浏览 评分:9.3
最大公约数与最小公倍数-简单易懂 摘要:解题思路:注意事项:参考代码:public static void main(String[] args) { Scanner input = new Scanner(System.in);…… 题解列表 2021年10月08日 0 点赞 0 评论 237 浏览 评分:0.0
sssssssssssssssss 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"#include "math.h"int main() { char X[201]; while…… 题解列表 2021年10月07日 0 点赞 0 评论 384 浏览 评分:0.0