C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:10除以8的余数,倒着排列起来就是10的八进制数参考代码:#include <stdio.h>int main(){ int n,a[50],i=0,j; scan…… 题解列表 2018年08月23日 0 点赞 0 评论 941 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x,y; scanf("%f",&x); if(x<1) { …… 题解列表 2018年08月23日 0 点赞 0 评论 1062 浏览 评分:0.0
蓝桥杯算法提高VIP-铺地毯 (C++代码) 摘要:#include <iostream> #include <stdio.h> #include <string> #include <cstring> #include <map> usin…… 题解列表 2018年08月23日 0 点赞 0 评论 1476 浏览 评分:0.0
夹角的问题 (C++代码) 摘要:#include <stdio.h> #include <stdlib.h> #include<math.h> int main() { int s; double x1, x2, y…… 题解列表 2018年08月23日 0 点赞 0 评论 982 浏览 评分:9.9
P1002 (C++代码) 摘要:#include<iostream> #include<stdio.h> #include<cmath> #include<algorithm> #include<string> using…… 题解列表 2018年08月23日 0 点赞 0 评论 1511 浏览 评分:0.0
文科生的悲哀 (C++代码) 摘要:解题思路: 斐波那契数列#include<bits/stdc++.h> using namespace std; typedef long long ll; int main() …… 题解列表 2018年08月23日 0 点赞 0 评论 2181 浏览 评分:9.9
排列 (C++代码) 摘要:#include<stdio.h> #include<iostream> #include<string> #include<algorithm> #include<cmath> using…… 题解列表 2018年08月22日 0 点赞 0 评论 1582 浏览 评分: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 评论 2004 浏览 评分:0.0
求两个集合交集 (C语言代码) 摘要:解题思路: 先将集合A、B的元素升序排列,然后使用i,j两指针逐个比对集合A、B的元素取交集,结果也为升序。 示意图:(求交集C) 参考代码:#include<stdio.h> …… 题解列表 2018年08月22日 2 点赞 0 评论 3036 浏览 评分:9.9