WU-蓝桥杯算法提高VIP-五次方数 (C++代码) 摘要:解题思路:因为9的5次方*7之后得到的是6位数 所以我们知道结果最多只能为6位数 所以我采用了6重循环 表示从0-999999之间的数 来判断是否符合条件 由于0和1只有1位数 所以不考虑参考代码…… 题解列表 2017年12月12日 8 点赞 2 评论 1077 浏览 评分:5.0
WU-蓝桥杯算法提高VIP-利息计算 (C++代码) 摘要:解题思路:额 很简单的一道题参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { doubl…… 题解列表 2017年12月15日 1 点赞 0 评论 1302 浏览 评分:5.0
【作业调度方案】 (C++代码) 摘要:解题思路:注意事项:参考代码:这道题...我认为是一道不能算“简单”的模拟首先,出题者不仅在考察代码实现能力,更在考验你的语文水平( 唉...... )闲话不多说了,注释都在代码里了...cpp..#…… 题解列表 2017年12月31日 1 点赞 3 评论 1100 浏览 评分:5.0
送分题素数 (C++代码) 摘要:解题思路:两种选择查一下100~200间有那些素数,复制粘贴并打印;2.像我这样编一个输出素数的程序;注意事项:参考代码:#include <stdio.h> int main(){ int i…… 题解列表 2018年01月01日 1 点赞 0 评论 1460 浏览 评分:5.0
字符串的输入输出处理 (C++代码) 摘要:参考代码: #include <iostream> #include <cstdio> using namespace std; int main() { int n,tot=0;…… 题解列表 2018年02月12日 1 点赞 0 评论 1167 浏览 评分:5.0
P1035 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio> #include<cstring> int n,m; int x[4]={0,0,1,-1}; int y[4]…… 题解列表 2018年02月23日 0 点赞 0 评论 1417 浏览 评分:5.0
C语言训练-8除不尽的数 (Java代码) 摘要:解题思路:注意事项:参考代码:public class C1121 { public static void main(String[] args) { int a = 1, n1 =…… 题解列表 2018年03月16日 1 点赞 0 评论 1271 浏览 评分:5.0
成绩转换 (C语言代码) 摘要:解题思路: 注意事项: 参考代码: /* 90~100为A; 80~89为B; 70~79为C; 60~69为D; 0~59为E; */ #include <stdio.h>…… 题解列表 2018年03月25日 2 点赞 0 评论 1575 浏览 评分:5.0
三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int n_max=100+5; int a[n_max][n_max]…… 题解列表 2018年05月13日 1 点赞 0 评论 1157 浏览 评分:5.0
优质题解 素数回文 (C++代码) 摘要:解题思路: 把题目分解分别写出判断素数和回文数的函数,再把最终判断的数整合在一起注意事项: 范围整型装不下,需要开到long long参考代码:#include <stdio.h> #incl…… 题解列表 2018年05月25日 2 点赞 0 评论 3327 浏览 评分:5.0