蓝桥杯算法训练VIP-阶乘 (C语言代码) 摘要:#include "stdafx.h"int main(){ int i,n,s=1,t; scanf("%d", &n); for (i = 1; i <= n; i++) { s *= i; …… 题解列表 2018年10月23日 0 点赞 0 评论 683 浏览 评分:0.0
蓝桥杯2014年第五届真题-拼接平方数 (C语言代码) 摘要:#include "stdafx.h"#include "math.h"int fun_len(int n){ int count=0; do { n /= 10; count++; } whil…… 题解列表 2018年10月23日 0 点赞 0 评论 907 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\n"); printf("…… 题解列表 2018年10月23日 0 点赞 0 评论 1080 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1='C',c2='h',c3='i',c4=…… 题解列表 2018年10月23日 0 点赞 0 评论 577 浏览 评分:0.0
逆序数 (C语言代码) 摘要:#include "stdafx.h"#define max 100int main(){ int n,a[max],i,j,count=0; scanf("%d", &n); for (i = 0;…… 题解列表 2018年10月23日 0 点赞 0 评论 1433 浏览 评分:4.0
蓝桥杯算法提高VIP-求最大值 (C语言代码) 摘要:#include "stdafx.h"#define max 100void bubblesort(int a[],int b[], int n) //数组a从大到小,并且b同步变化{ int i,…… 题解列表 2018年10月23日 0 点赞 0 评论 1917 浏览 评分:7.0
蓝桥杯算法训练VIP-最长字符串 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"int main(){ char s[5][100] = { 0 }; int i,max=0,len,flag; for …… 题解列表 2018年10月23日 0 点赞 0 评论 997 浏览 评分:0.0
蓝桥杯算法训练VIP-斜率计算 (C语言代码) 摘要:#include "stdafx.h"int main(){ float x1, y1, x2, y2; double k; printf("input x1,y1 x2,y2 \n"); scan…… 题解列表 2018年10月23日 0 点赞 0 评论 810 浏览 评分:0.0
蓝桥杯算法训练VIP-字符删除 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"int main(){ char str[20] = { 0 }, ch, str2[20] = {0}; int i,le…… 题解列表 2018年10月23日 0 点赞 0 评论 604 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 (C语言代码) 摘要:解题思路:先判断,再分,后加,注意事项:参考代码#include <bits/stdc++.h>using namespace std;void ftg(int *ans,int c){ an…… 题解列表 2018年10月23日 0 点赞 0 评论 1585 浏览 评分:9.9