勾股数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c; for(a=3;a<1000;a++){ for(b=a;b<1000;…… 题解列表 2017年10月22日 5 点赞 2 评论 911 浏览 评分:2.0
勾股数 (C语言代码) 摘要:#include <stdio.h> int main() { int i,j,k; for(i=3;i<=1000;i++) for(j=i;j<=1000;j++) fo…… 题解列表 2017年12月09日 0 点赞 0 评论 878 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码) 摘要:参考代码:#include <stdio.h> #include <math.h> int main() { int a,b,c; for(a=1;a<=333;a++) …… 题解列表 2018年01月29日 1 点赞 0 评论 763 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c=0; for(a=3;a<=400;a++) for(b=a+1;b<=500;b++) …… 题解列表 2018年03月01日 1 点赞 0 评论 710 浏览 评分:0.0
勾股数 (C语言代码) 摘要:解题思路:运用穷举法加上判断找出答案。注意事项:参考代码:#include<stdio.h> int main() { int a,b,c; for(a=1;a<1000;a+…… 题解列表 2019年02月05日 2 点赞 0 评论 696 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int a,b,c; for(a=1;a<=500;a++) { for(b=1;b<=500;b++) …… 题解列表 2019年02月14日 0 点赞 0 评论 409 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ long int i , j , k ; for( i = 1 ; …… 题解列表 2019年04月03日 0 点赞 0 评论 467 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码) 摘要:解题思路:穷举加判断注意事项:参考代码:#include<stdio.h> int main() { int a,b,c; for(a=3;a<500;a++) for(b=a;b<500;b++)…… 题解列表 2019年05月07日 0 点赞 0 评论 351 浏览 评分:0.0
蓝桥杯算法提高VIP-勾股数 (C语言代码)哈哈哈! 摘要:解题思路:无注意事项:无参考代码:#include<stdio.h>int main(){ int a,b,c; for(a=1;a<1000;a++) for(b=1;b<1000;b++) …… 题解列表 2019年05月11日 0 点赞 0 评论 354 浏览 评分:0.0
优质题解 zdw详细题解-两重循环,合理设置数据范围-(C语言代码) 摘要:#### 解题思路: ------------ 1. 定义三个变量a,b,c,其中a,b作为直角边,c作为斜边; 1. 根据题中的信息,以及三角形的三边关系判断a,b的取值范围; …… 题解列表 2019年06月26日 12 点赞 4 评论 2243 浏览 评分:9.5