C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:本题目利用if()语句注意事项:注意a的取值范围书写,例如a>0&&a<=9,不要写成0<a<=9;参考代码:#include <stdio.h>main(){ int a,d,c,w,q,…… 题解列表 2018年08月09日 0 点赞 0 评论 620 浏览 评分:0.0
字符串链接 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main(){ string s,…… 题解列表 2018年08月09日 2 点赞 0 评论 1077 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int t,a,b,c; scanf("%d",&t); c=t%60; b=t/60…… 题解列表 2018年08月09日 0 点赞 0 评论 710 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图 (C语言代码) 摘要:解题思路: 我的思路就是一步一步的分析,首先我想到的就是分配一块内存来储存图案,通过观察知道图案是一个方正,于是想到用字符矩阵。然后分布完成,首先就是把方块字符中每个元素变成字符'.&#…… 题解列表 2018年08月09日 14 点赞 2 评论 986 浏览 评分:8.0
蓝桥杯算法训练VIP-阶乘 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm> #include<cstring>using namespace std;int a[1000…… 题解列表 2018年08月09日 0 点赞 0 评论 1022 浏览 评分:0.0
蓝桥杯算法提高VIP-栅格打印问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,m; cin>>n>>m; …… 题解列表 2018年08月09日 0 点赞 0 评论 765 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) 一般思路(C语言代码) 摘要:解题思路:正常思路注意事项:[无]参考代码:#include<stdio.h>#include<math.h>void swap(int *a,int *b){ int temp; temp=*a; …… 题解列表 2018年08月09日 0 点赞 0 评论 810 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C++代码) 摘要:解题思路: while输入,判断小于等于四位数就break;输出千位,加个空格,以此类推。注意事项:参考代码:#include <iostream>using namespace std;int ma…… 题解列表 2018年08月09日 0 点赞 0 评论 827 浏览 评分:0.0
程序员的表白 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; int main(){ int n; while(cin>>n) { for(i…… 题解列表 2018年08月09日 0 点赞 0 评论 678 浏览 评分:6.0