题解列表

筛选

题意理解方面的题解

摘要:=0 && maps[x-1][y] == '.') return false; if (x+1>=0 && maps[x+1][y] == '.') return false; if (y-……

特殊的质数肋骨---java方法

摘要:import java.util.Scanner; public class Main {     //创建一个判断素数的方法     public static boolean sushu……

字符逆序,Java递归题解

摘要:import java.util.Scanner; public class 字符逆序 {     //字符逆序--递归方法     public static void reString(……

容易理解的C语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int count = 0; //统计负数个数     double aver = 0;/……

统计字符数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    int n,i,j=0,max=0,letter;    char s……

容易理解的C语言代码

摘要:解题思路:    能同时被那三个数整除,也就是被他们的最小公倍数整除即可    因此,也可以从最小公倍数开始循环注意事项:参考代码:#include <stdio.h> int main() { ……

题目 1671: 小九九(能解决格式问题的C代码)

摘要:解题思路:        利用循环来输出九九乘法表    通过 i 来控制九九乘法表的 行 并且表示为第二个元素    通过 j 来控制九九乘法表的 列 并且表示为第一个元素    也就是 j * i……

容易理解的C语言代码

摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() {     int a, b, c, n;     scanf("%d", &n);     a =……

数学的图表

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,i,sum = 0;    while(scanf("%d",&n)!=EOF)    {  ……