C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\n"); printf("…… 题解列表 2018年10月23日 0 点赞 0 评论 1528 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c1='C',c2='h',c3='i',c4=…… 题解列表 2018年10月23日 0 点赞 0 评论 1101 浏览 评分: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 评论 1914 浏览 评分: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 评论 2409 浏览 评分: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 评论 1435 浏览 评分: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 评论 1205 浏览 评分: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 评论 984 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 (C语言代码) 摘要:解题思路:先判断,再分,后加,注意事项:参考代码#include <bits/stdc++.h>using namespace std;void ftg(int *ans,int c){ an…… 题解列表 2018年10月23日 0 点赞 0 评论 2120 浏览 评分:9.9
数据结构-八进制数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#include<iostream>#include<algorithm>#include<string>#include<…… 题解列表 2018年10月22日 1 点赞 0 评论 1921 浏览 评分:0.0
蓝桥杯算法提高VIP-身份证号码升级 (C语言代码) 摘要:解题思路:1.先保存字符串;2.把字符串后移2位(从最后一位开始到第7位);3.把‘1’和‘9’加到字符串中去;4.求验证码,定义两个数组a和b,可以很方便求。5.把验证码加到第17位即可(从0位开始…… 题解列表 2018年10月22日 1 点赞 0 评论 2211 浏览 评分:9.9