蓝桥基础练习-字符串对比,初学者暴力解法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个字符串变量s1和s2 …… 题解列表 2024年11月06日 0 点赞 0 评论 273 浏览 评分:6.0
C语言训练-8除不尽的数 摘要:```cpp #include using namespace std; int main() { cout…… 题解列表 2024年11月11日 0 点赞 0 评论 235 浏览 评分:6.0
看不懂直接喷 摘要:解题思路:对于换行符的完美运用注意事项:参考代码:#include <stdio.h>int main() { float i,a; scanf("%f",&a); for(i=0;i<1;i++){…… 题解列表 2024年11月13日 0 点赞 0 评论 469 浏览 评分:6.0
3033: 放苹果 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明,用于存储测试用例数量和两个整数m和n int t, n…… 题解列表 2024年11月20日 1 点赞 0 评论 497 浏览 评分:6.0
字符串正反接 摘要:解题思路:注意事项:参考#include <stdio.h>#include <string.h>int main(){ char a[101]; int i, j; // 使用fg…… 题解列表 2024年11月25日 1 点赞 0 评论 437 浏览 评分:6.0
a+b so easy [竞赛入门]简单的a+b 摘要:```cpp #include using namespace std; int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2024年11月28日 6 点赞 0 评论 1155 浏览 评分:6.0
一种可能比较神奇的做法(新手) 摘要:解题思路:或许会比较简单粗暴。直接先分别计算两个日期从取值范围中最小的日期到这一天的天数,再进行做差,便得出结果。(本人为大一新生,初学者,可能在尝试编写题解时,出现不足和错误,希望得到您的谅解,谢谢…… 题解列表 2024年12月01日 0 点赞 0 评论 315 浏览 评分:6.0
[编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:a=int(input())for i in range(a): b=input().split() print(','.join(b))…… 题解列表 2024年12月01日 0 点赞 0 评论 626 浏览 评分:6.0
喜欢if的看这里 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define y(a,b,c) ({ \ double max=(a); \ if((b)>max)max=(b); \ …… 题解列表 2024年12月02日 0 点赞 0 评论 578 浏览 评分:6.0
编写题解 1007: [编程入门]分段函数求值 摘要:解题思路: 只需要判断x所处的范围就行了注意事项:参考代码:#include<stdio.h>int main(){ //判断x int x; int y; //只需要判断x所在的范围 scanf…… 题解列表 2024年12月05日 3 点赞 0 评论 2074 浏览 评分:6.0