[STL训练]周瑜的反间计 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,以及两个数组a和b,…… 题解列表 2024年11月10日 0 点赞 0 评论 242 浏览 评分:0.0
温度转换(C语言新手) 摘要:解题思路:注意事项:需注意5和(F-32)之间的乘号不可省略,要写*参考代码:#include <stdio.h>int main(){ float c,F; scanf("%f",&F); c=5*…… 题解列表 2024年11月11日 9 点赞 0 评论 2200 浏览 评分:0.0
[STL训练]{A} + {B},纯循环思路清晰 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量a和b,以及数组c、d和e …… 题解列表 2024年11月11日 0 点赞 0 评论 156 浏览 评分:0.0
sstringstream #1458: 蓝桥杯2013年第四届真题-错误票据 摘要:``` #define _CRT_SECURE_NO_WARNINGS 1 #include #include #include #include #include #include …… 题解列表 2024年11月11日 0 点赞 1 评论 188 浏览 评分:0.0
c语言简单数组解报数问题 摘要:解题思路:注意事项:参考代码:#includeint main(){ int arr[201]; int n,i,j; scanf ("%d",&n); for (i=0;i<n;i++) //…… 题解列表 2024年11月11日 0 点赞 0 评论 117 浏览 评分:0.0
哥德巴赫猜想做题心得 摘要:解题思路:对称求和以及对素数的判断注意事项:这里我们需要理解题目的目的-输入n是偶数,这使得我们的循环是对称的(既(2-n)这个区间) 所以头尾相加可求得n 此时对题目的理解转变成判断首位数字是否同时…… 题解列表 2024年11月11日 0 点赞 0 评论 185 浏览 评分:0.0
The 3n + 1 problem,goto真好用! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量a, b, c和数组d,l用…… 题解列表 2024年11月11日 0 点赞 0 评论 201 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct today getstruct(void); void output(struct today x); struc…… 题解列表 2024年11月11日 1 点赞 0 评论 213 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:注意将条件考虑完整参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); if(0<=a…… 题解列表 2024年11月11日 0 点赞 0 评论 146 浏览 评分:0.0
[STL训练]壮志难酬,字符串数组暴力! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义一个字符串数组,用于存储输入的字…… 题解列表 2024年11月11日 0 点赞 0 评论 151 浏览 评分:0.0