蓝桥杯2013年第四届真题-核桃的数量-题解(C语言代码) 摘要: #include "stdio.h" int fun(int a,int b) { int t; if(a…… 题解列表 2020年02月27日 0 点赞 0 评论 831 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解(C语言代码) 摘要:#include int main () { int a,b,c; int i=0; scanf("%d %d %d",&a,&b,&c); for(i=1;;i++) { …… 题解列表 2020年02月11日 0 点赞 0 评论 1210 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解(C语言代码) 摘要:```c #include #include int main() { int a,b,c; int max; scanf("%d %d %d",&a,&b,&c); if(a…… 题解列表 2020年02月04日 0 点赞 0 评论 1262 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解(C语言代码) 摘要:解题思路: 其实就是求最小公倍数。我用的是蛮力法求解。 参考代码: ```c #include int main() { int i,a,b,c; scanf("%d %d %…… 题解列表 2019年12月18日 0 点赞 0 评论 1623 浏览 评分:9.9
蓝桥杯2013年第四届真题-核桃的数量-题解(C语言代码) 摘要: #include using namespace std; int main(){ int a,b,c,i; scanf("%d%d%d",&a,&b,&c); for(i=1;…… 题解列表 2019年11月16日 0 点赞 0 评论 1101 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量-题解(C语言代码) 摘要:#### 核桃的数量-题解(C语言描述) 原题链接:[核桃的数量](https://www.dotcpp.com/oj/problem1446.html "核桃的数量") ###### 解题思路:…… 题解列表 2019年10月18日 0 点赞 0 评论 1167 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 (C语言代码)一个循环搞定 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,i; scanf("%d%d%d",&a,&b,&c); for(i=2;i<1000;i+…… 题解列表 2019年05月15日 0 点赞 0 评论 1091 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:参考代码:#include<stdio.h>int A(int m, int n) //求最小公倍数的函数{ int a=m, b=n; int r; r = m % n;…… 题解列表 2019年05月12日 0 点赞 0 评论 1531 浏览 评分:7.3
蓝桥杯2013年第四届真题-核桃的数量 (C语言代码)理论上,要求最小公倍数,但是我要暴力破解 摘要:解题思路:很简单,看代码注意事项:无参考代码:#include<stdio.h>int main (){ int a,b,c; int i; scanf("%d%d%d",&a,&…… 题解列表 2019年04月26日 1 点赞 3 评论 1938 浏览 评分:9.0
蓝桥杯2013年第四届真题-核桃的数量 (C语言代码) 摘要:解题思路:逐个求最大公因数注意事项:参考代码:#include <stdio.h>#include <string.h>int glc(int a,int b){ if(b==0){ return …… 题解列表 2019年04月25日 0 点赞 0 评论 1037 浏览 评分:0.0