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 评论 915 浏览 评分:0.0
蓝桥杯算法提高VIP-栅格打印问题 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,m; cin>>n>>m; …… 题解列表 2018年08月09日 0 点赞 0 评论 953 浏览 评分:0.0
蓝桥杯算法训练VIP-阶乘 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm> #include<cstring>using namespace std;int a[1000…… 题解列表 2018年08月09日 0 点赞 0 评论 1129 浏览 评分: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 评论 831 浏览 评分:0.0
字符串链接 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main(){ string s,…… 题解列表 2018年08月09日 2 点赞 0 评论 1202 浏览 评分:0.0
2+22+222+2222+22222 摘要:解题思路:我写了个函数进行计算各项和求和,因为2 22 222,后面一项是前面一项*10+2,我定义了一个足够大的数组a[1000],函数传入多少项,返回计算好的结果。注意事项:没有过多的注意事项,只…… 题解列表 2019年02月12日 0 点赞 0 评论 1867 浏览 评分:0.0
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 评论 695 浏览 评分:0.0
矩阵最大值 (C++代码)(可AC) 摘要:#include <iostream> #include <stdio.h> #include <string> #include <cstring> using namespace std;…… 题解列表 2018年08月09日 1 点赞 0 评论 1092 浏览 评分:0.0
C语言训练-谁家孩子跑最慢* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include <math.h> …… 题解列表 2018年08月09日 0 点赞 0 评论 1351 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d\n%d\n%d\n%d\n",&a,&b,&c,&t…… 题解列表 2018年08月09日 0 点赞 0 评论 612 浏览 评分:0.0