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