P1002 (C++代码) 摘要:#include<iostream> #include<stdio.h> #include<cmath> #include<algorithm> #include<string> using…… 题解列表 2018年08月23日 0 点赞 0 评论 1893 浏览 评分:0.0
文科生的悲哀 (C++代码) 摘要:解题思路: 斐波那契数列#include<bits/stdc++.h> using namespace std; typedef long long ll; int main() …… 题解列表 2018年08月23日 0 点赞 0 评论 2724 浏览 评分:9.9
排列 (C++代码) 摘要:#include<stdio.h> #include<iostream> #include<string> #include<algorithm> #include<cmath> using…… 题解列表 2018年08月22日 0 点赞 0 评论 2010 浏览 评分: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 评论 2220 浏览 评分:0.0
求两个集合交集 (C语言代码) 摘要:解题思路: 先将集合A、B的元素升序排列,然后使用i,j两指针逐个比对集合A、B的元素取交集,结果也为升序。 示意图:(求交集C) 参考代码:#include<stdio.h> …… 题解列表 2018年08月22日 2 点赞 0 评论 3465 浏览 评分:9.9
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 评论 819 浏览 评分: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 评论 987 浏览 评分: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 评论 912 浏览 评分: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 评论 1515 浏览 评分:0.0