C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>float fenduan(float x){ float y; if(x<1) y=x; else if(x>=1&&x<10) …… 题解列表 2018年08月22日 0 点赞 0 评论 900 浏览 评分:0.0
【明明的随机数】 (C语言代码)冒泡排序后去重 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>void fun(int a[],int m){ int i,j,t,l,q,k; for(i=0…… 题解列表 2018年08月22日 0 点赞 0 评论 1539 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(double n){double a=1; for(int i=1;i<=n;i…… 题解列表 2018年08月22日 0 点赞 0 评论 1110 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int s=0,i,n; int a[100]; scanf("%d\n",&n); for(i=0;i<n;i…… 题解列表 2018年08月22日 0 点赞 0 评论 683 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=2,s=2; int n,i; scanf("%d",&n); for(i=1;i<n;i++) {…… 题解列表 2018年08月22日 0 点赞 0 评论 773 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; for(n=10;n<=1000;n++) { if(n%2==0&&n%3==0&&n%7==0…… 题解列表 2018年08月22日 0 点赞 0 评论 535 浏览 评分:0.0
生日日数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[12]={31,28,31,30,31,30,3…… 题解列表 2018年08月22日 0 点赞 0 评论 1654 浏览 评分:0.0
排列 (C++代码) 摘要:#include<stdio.h> #include<iostream> #include<string> #include<algorithm> #include<cmath> using…… 题解列表 2018年08月22日 0 点赞 0 评论 1157 浏览 评分:0.0
P1002 (C++代码) 摘要:#include<iostream> #include<stdio.h> #include<cmath> #include<algorithm> #include<string> using…… 题解列表 2018年08月23日 0 点赞 0 评论 1145 浏览 评分:0.0
蓝桥杯算法提高VIP-铺地毯 (C++代码) 摘要:#include <iostream> #include <stdio.h> #include <string> #include <cstring> #include <map> usin…… 题解列表 2018年08月23日 0 点赞 0 评论 1237 浏览 评分:0.0