字符串输入输出函数-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string a, b; int main(){ pri…… 题解列表 2020年08月13日 0 点赞 0 评论 508 浏览 评分:9.9
蓝桥杯基础练习VIP-矩形面积交-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { double x[4]; doubl…… 题解列表 2020年08月13日 0 点赞 0 评论 696 浏览 评分:0.0
字符逆序-题解(C++代码) 摘要:解题思路:注意事项: 输入字符串,里面有空格。。。gets()函数走起参考代码:#include<bits/stdc++.h> using namespace std; int main…… 题解列表 2020年08月13日 0 点赞 0 评论 848 浏览 评分:9.9
Hello, world!-题解(C++代码)关于EOF.... 摘要:解题思路:注意事项: 关于EFO,是C语言stdio.h中的一个宏定义,赋值为-1 但不能直接在你的程序里写上-1,因为能在键盘上输入的东西,ascll码都是 >=0 的, 所以,可…… 题解列表 2020年08月13日 0 点赞 0 评论 1335 浏览 评分:9.7
蛇行矩阵-题解(C++代码)超详细注释 摘要:解题思路: 定义一个for循环,用语句a[i+1][0]=a[i][0]+i+1;来得出每一列的数字,但不输出, 再用一个for循环用语句a[i][j+1]=a[i][j]+j+i+2; …… 题解列表 2020年08月13日 0 点赞 0 评论 813 浏览 评分:9.9
The 3n + 1 problem -题解(C++代码)超详细注释 摘要:题意:在[l, r]中找到3n+1猜想最大步数的数字解题思路: 在[l, r]中枚举每个数字,每次枚举完都更新最大值注意事项: 给出的两个数字大的在前小的在后时,交换一下便于处理参考代码:#inclu…… 题解列表 2020年08月13日 0 点赞 2 评论 833 浏览 评分:7.3
蓝桥杯基础练习VIP-Sine之舞-题解(C++代码)-递归实现 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; void an(int i,int n) //i标记1开始,便于相加 …… 题解列表 2020年08月13日 0 点赞 0 评论 502 浏览 评分:8.0
二级C语言-温度转换-题解(C++代码) 摘要:解题思路:用scanf,printf;注意事项:5*(f-32)/9一定要这样写!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace st…… 题解列表 2020年08月12日 0 点赞 2 评论 2118 浏览 评分:9.9
[编程入门]宏定义之闰年判断-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#define LEAP_YEAR(y) (y%400==0||(y%4==0&&y%100…… 题解列表 2020年08月12日 0 点赞 0 评论 365 浏览 评分:0.0
蓝桥杯2015年第六届真题-饮料换购-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int n;int ans;int main(void){ cin>>n; ans+=n; w…… 题解列表 2020年08月11日 0 点赞 0 评论 378 浏览 评分:0.0