编写题解 1084: 用筛法求之N内的素数解法 摘要:解题思路:通过FOR循环对每一种情况进行判断并将结果进行输出注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d; d=0; scanf("%d",&a…… 题解列表 2021年10月09日 0 点赞 0 评论 565 浏览 评分:9.9
1042 [编程入门]电报加密 摘要:解题思路:注意事项:输入字符串时用Scanner的nextLine()方法,不然会漏掉空格。参考代码:package practise;import java.text.*;import java.u…… 题解列表 2021年10月09日 0 点赞 0 评论 805 浏览 评分:9.9
编写题解 2626: 面板 编程小白写的(@^_^@) 摘要:解题思路:通过不断循环,进行赋值,并输出,根据每一块三角形的运算公式;可将原题分割为6个三角形,夹角为60度,设三角形两边长为A,B,若求面积,则S=A*B*sin60*1/2最后进行比较注意事项:参…… 题解列表 2021年10月09日 0 点赞 0 评论 456 浏览 评分:9.9
[编程入门]有规律的数列求和----一看就懂 摘要:解题思路:主要观察分子分母的变化规律。注意事项:分子分母变化时注意采用临时变量参考代码:public static void main(String[] args) { Scanner in…… 题解列表 2021年10月09日 0 点赞 0 评论 409 浏览 评分: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 评论 606 浏览 评分:9.9
编写题解 1201: 回文数(一) 摘要:解题思路:数字转换为字符串 倒置和判断回文两个函数 注意事项:参考代码:#include "stdio.h"#include "string.h"#include "stdlib.h"void NIZ…… 题解列表 2021年10月08日 0 点赞 0 评论 410 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取 C 通俗易懂 摘要:解题思路:依次比较输入字符中的单个字符与五个元音字母,若相同则输出。注意事项:注意数组越界。参考代码:#include <stdio.h> #include <stdio.h> int main(…… 题解列表 2021年10月08日 0 点赞 3 评论 370 浏览 评分:8.0
简单的数学题 摘要:参考代码:public void distance1() { Scanner sc = new Scanner(System.in); while (sc.hasNext()) {…… 题解列表 2021年10月08日 0 点赞 0 评论 689 浏览 评分:0.0
[编程入门]完数的判断 小白写的^_^ 摘要:解题思路:通过写相应的代码求出对应的完数,再进行循环注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,n; c=0; scanf("%d",&n);…… 题解列表 2021年10月08日 0 点赞 0 评论 392 浏览 评分:8.0
1013 让我试试发题解能加多少exp 摘要:解题思路:咋算都行 注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a,i,sum=0; scanf("%d"…… 题解列表 2021年10月08日 0 点赞 0 评论 854 浏览 评分:8.0