C语言训练-尼科彻斯定理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; while(scanf("%d",&i)!=EOF) { printf("%d*%d*%d=%d…… 题解列表 2018年07月25日 0 点赞 0 评论 844 浏览 评分:0.0
【亲和数】 (Java代码) 摘要:解题思路: 1.用变量保存输入的两个数字 2.取出其中一个数字,从1开始到这个数字循环取模,如果能够整除就累加 3.如果累加的结果正好等于另一个数字,就可以输出 YES 4.…… 题解列表 2018年07月25日 2 点赞 0 评论 1776 浏览 评分:0.0
蓝桥杯算法提高VIP-班级排名 (C++代码) 摘要:写了很久这题,一直没看到时总分的排名,提交一直错误,读了好几遍题目才看到#include"iostream" #include "string" #include "algorithm" usi…… 题解列表 2018年08月05日 1 点赞 0 评论 1287 浏览 评分:0.0
蓝桥杯算法提高- c++_ch02_03 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <iomanip>using namespace std;int main ()…… 题解列表 2018年07月26日 0 点赞 0 评论 1720 浏览 评分:0.0
蓝桥杯算法提高- c++_ch03_02 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void) { int a[100][100]; //用二位数组储存元素 …… 题解列表 2018年07月26日 1 点赞 0 评论 2092 浏览 评分:0.0
成绩等级转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <iomanip>using namespace std;int main ()…… 题解列表 2018年09月15日 0 点赞 2 评论 744 浏览 评分:0.0
字符串中间和后边*号删除 (C语言代码)题目有毒。 摘要:解题思路:注意事项:题目有毒。怎么交都不正确参考代码:#include <string.h>#include<stdio.h>void fun(char *a){ int i,k,j; char b[…… 题解列表 2018年07月31日 1 点赞 0 评论 1291 浏览 评分:0.0
求输入数据绝对值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <string.h>#include<stdio.h>#include <math.h>int main(){ float n; while(scanf…… 题解列表 2018年07月26日 0 点赞 0 评论 1178 浏览 评分:0.0
判断第几天 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <string.h>#include<stdio.h>#include <math.h>int data[13] = { 0,31,28,31,30,3…… 题解列表 2018年07月26日 2 点赞 0 评论 1809 浏览 评分:0.0
可 AC (C语言代码) 摘要:解题思路: 判断是否为质数,然后做乘积,质数个数加一.当质数个数达到n时,退出循环. 注意事项: 尽量优化算法,免得时间超限, 较大的数尽量使用 long long 参考代码: …… 题解列表 2018年07月26日 2 点赞 0 评论 2327 浏览 评分:0.0