题解列表
[编程入门]完数的判断 小白写的^_^
摘要:解题思路:通过写相应的代码求出对应的完数,再进行循环注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,n; c=0; scanf("%d",&n);……
1013 让我试试发题解能加多少exp
摘要:解题思路:咋算都行 注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int a,i,sum=0; scanf("%d"……
数字逆序输出(3个for循环解决)
摘要:解题思路:1.for(i=1;i<11;i++) { scanf("%d",&a[i]); }第一个for语句实现输入10个数字。2.for(i=1;i<6;i++) ……
最大公约数与最小公倍数-简单易懂
摘要:解题思路:注意事项:参考代码:public static void main(String[] args) {
Scanner input = new Scanner(System.in);……
sssssssssssssssss
摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "string.h"#include "math.h"int main() { char X[201]; while……
字符串分类统计-题解(Java)__数组和变量的简单极限测试
摘要:解题思考:
如果一个题,可以用变量,可以用数组,怎么选?之前我总觉得差不多吧。所以就针对这个题做了个简单的极限测试,跑个几百万的for循环吧。当然了,测试结果仅代表我自己的电脑的实际情况。图……
找寻小妖--bfs(Java)
摘要:这题简直和[2177](https://www.dotcpp.com/oj/problem2177.html "2177")和[2178](https://www.dotcpp.com/oj/prob……
非常好 初学者容易理解
摘要:解题思路:注意事项:参考代码: #include<stdio.h> #include<string.h> int main() { char a[100]; while(scanf("……
题解1025: 数组插入处理
摘要:参考代码:#include<stdio.h>void main(){ int a[9],b,c[10],i,j; for(i=0;i<9;i++) { scanf("%d……