做题记录2022.3.9(ac:100%) 摘要:解题思路:两种方向:从a到b的范围内取数,然后分割判断该数是否符合要求,这样会存在一些冗余判断,但实现起来较为简单先生成平方数,然后在所给定的范围内拼接出符合要求的数,完全没有冗余,但考虑情况较多.如…… 题解列表 2022年03月09日 0 点赞 0 评论 420 浏览 评分:0.0
兰顿蚂蚁 C++ 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <map> #include <string> using namespace std; int dy[…… 题解列表 2022年03月09日 0 点赞 0 评论 273 浏览 评分:0.0
编写题解 1113: C语言考试练习题_保留字母 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,j=0; char str1[81],str2[81]; get…… 题解列表 2022年03月09日 0 点赞 0 评论 287 浏览 评分:0.0
编写题解 1022: [编程入门]筛选N以内的素数 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;int main(){ bool t = true; int n; cin>>n…… 题解列表 2022年03月09日 0 点赞 0 评论 291 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double a,b,c,x1,x2; scanf("%lf %lf %lf",…… 题解列表 2022年03月09日 0 点赞 0 评论 397 浏览 评分:0.0
写题解 1121: C语言训练-8除不尽的数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int a=1;;a++) { if(((a*8+7)*8+1)*8+1==((2*a*17+15)*…… 题解列表 2022年03月09日 0 点赞 0 评论 356 浏览 评分:0.0
编写题解 1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<stdio.h>using namespace std;int main(){ int m; bool …… 题解列表 2022年03月09日 0 点赞 0 评论 267 浏览 评分:0.0
Java语言编写的 摘要:解题思路:注意事项:参考代码:import java.awt.*;import java.nio.charset.StandardCharsets;import java.util.Scanner;p…… 题解列表 2022年03月09日 0 点赞 0 评论 367 浏览 评分:0.0
C语言(链式存储结构解题) 摘要: #include #include typedef struct stacknode{ int data; struct stacknode *ne…… 题解列表 2022年03月09日 0 点赞 0 评论 343 浏览 评分:0.0
编写题解 1122: C语言训练-亲密数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int flag[3000]; for(int i=1;i<=3000;i++) { flag[i]=i; }…… 题解列表 2022年03月09日 0 点赞 0 评论 346 浏览 评分:0.0