题解1136 你猜这次有没有小技巧呢?(C语言代码) 摘要:利用循环,然后注意一下取位的方法就ojbk了!这次没有小技巧唔!#include<stdio.h>int main(){ int a;for(int a=1000;a<10000;a++){ int …… 题解列表 2019年02月18日 0 点赞 0 评论 653 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.2 (C语言代码)冒泡选择排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int vals[10]; int i, j, t; for (i = 0; i < …… 题解列表 2019年02月19日 0 点赞 0 评论 741 浏览 评分:0.0
核电站问题 (C语言代码) 摘要:解题思路:a[i]=a[i-1]*2-a[i-4]注意事项:参考代码:#include<stdio.h>int main(){int a[41],i,y;while(scanf("%d",&y)!= …… 题解列表 2019年02月19日 0 点赞 0 评论 929 浏览 评分:0.0
用筛法求之N内的素数。 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int xt(int x);int main(){ int i, n; scanf("%d", &n…… 题解列表 2019年02月19日 0 点赞 0 评论 418 浏览 评分:0.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>int main(){ char a[100]; int i; gets(a); for (i =…… 题解列表 2019年02月19日 0 点赞 0 评论 574 浏览 评分:0.0
杨辉三角 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i, j, k, n, a[100][100]; while (scanf("%d", &n) != …… 题解列表 2019年02月19日 0 点赞 0 评论 607 浏览 评分:0.0
蓝桥杯算法提高VIP-大数加法 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> // 个人认为最好理解的大数加法#include <string.h>int main(){ char a[1000], b[10…… 题解列表 2019年02月19日 0 点赞 0 评论 712 浏览 评分:0.0
蓝桥杯算法训练VIP-调和数列问题 (C语言代码) 摘要:解题思路:循环加法注意事项:实数类型注意数据细节就行了参考代码:#include <stdio.h>int main(){ double x, t, s; int i, j, ok, a; while…… 题解列表 2019年02月19日 0 点赞 0 评论 821 浏览 评分:0.0
敲七游戏 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int xt(int x); // 判断数据中是否含7int main(){ int n, i, t = 0; scanf("%d",…… 题解列表 2019年02月19日 0 点赞 0 评论 1001 浏览 评分:0.0
蓝桥杯算法提高VIP-特殊的质数肋骨 (C语言代码)打表 摘要:解题思路: 先用暴力的方法把结果全部跑出来,然后打表输出就可以了,其它方法没想到QWQ参考代码:#include <stdio.h> int main(){ int a[9][17] = {…… 题解列表 2019年02月19日 0 点赞 0 评论 769 浏览 评分:0.0