大小写转换 (C++代码)完全C++ 摘要:解题思路: 其实C++在之初更加推荐对自己的新特新使用迭代器的便利方式,所谓迭代器就是属于C++自身新模版的一种容器,旧时的容器使用iterator,新的容易定义方法用auto,据说C2…… 题解列表 2018年12月12日 0 点赞 0 评论 1321 浏览 评分:9.9
C语言训练-自守数问题 (C++代码) 摘要:解题思路: 水水水水水起来,注意一下如何判断位数参考代码:#include<bits/stdc++.h> #pragma GCC optimize(2) using namespace st…… 题解列表 2018年12月12日 0 点赞 0 评论 1143 浏览 评分:6.0
C语言训练-舍罕王的失算 (C语言代码) 摘要:解题思路: 额参考代码:#include<stdio.h> int main(){ printf("18446744073709552000"); retur…… 题解列表 2018年12月12日 0 点赞 0 评论 958 浏览 评分:0.0
C语言训练-角谷猜想 (C++代码)还是C语言好 摘要:解题思路: 还是C语言的printf好用啊,用cout要写好长参考代码:#include<bits/stdc++.h> using namespace std; int main(){ …… 题解列表 2018年12月12日 0 点赞 0 评论 725 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:参考代码:{ int num; scanf("%d",&num); if(num<1) { printf("%.2f",(float)num); } if(num>=1 && n…… 题解列表 2018年12月13日 3 点赞 0 评论 588 浏览 评分:0.0
C二级辅导-等差数列 (C语言代码) 摘要:解题思路:注意事项:参考代码:{ int num=2; int i,n; int sum=0; scanf("%d",&n); for(i=1;i<=n;i++) { sum=sum+num; …… 题解列表 2018年12月13日 6 点赞 1 评论 1382 浏览 评分:6.0
蓝桥杯算法训练VIP-整数平均值 (C语言代码) 摘要:解题思路:注意事项: 在函数内部使用指针操纵数组元素参考代码:#include <stdio.h>int main(){ int n, i; scanf("%d", &n); int a[100…… 题解列表 2018年12月13日 2 点赞 0 评论 1657 浏览 评分:5.2
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int q,w,e,r,t,y,u,i,o,p; scanf ("%d %d %d %d %d %d…… 题解列表 2018年12月13日 1 点赞 0 评论 779 浏览 评分:0.0
蓝桥杯2013年第四届真题-幸运数 (C++代码)用vector进行筛选 16msAC代码 摘要:解题思路: vector动态数组筛选,速度还可以 16ms通过注意事项: 参考代码:#include <iostream> #include <vector> #define _f…… 题解列表 2018年12月13日 5 点赞 2 评论 947 浏览 评分:9.3
蓝桥杯2014年第五届真题-套娃 (C++代码) 摘要:解题思路:并查集吧为毛超时啊??最强召唤魔法,地表最强召唤兽~@地表最强召唤兽注意事项:参考代码:#include <iostream> #include <stdio.h> #include <…… 题解列表 2018年12月13日 1 点赞 5 评论 1272 浏览 评分:6.8