求长方形行面积问题,主要还是格式问题 摘要:注意事项: 1.输入的长和宽要在一行有空格隔开; 2.输出的周长和面积要是两行,且以C:和S:开头; 3.开头的C和S要是大写的,不然通不过…… 题解列表 2023年09月25日 0 点赞 0 评论 277 浏览 评分:0.0
查找最接近的元素二分 摘要:```cpp #include #include #include using namespace std; typedef long long LL; const int N =1000…… 题解列表 2023年09月25日 0 点赞 0 评论 366 浏览 评分:0.0
不是二分的写法不加以参考 摘要:```cpp #include #include #include #include using namespace std; typedef long long LL; const i…… 题解列表 2023年09月25日 0 点赞 0 评论 368 浏览 评分:0.0
合法C标识符(使用一些函数减少工作量) 摘要:解题思路: 先说下几个会用到的函数,头文件都为 #include: 1.int isalnum(int c) : 判断C是否是字母或者(十进制)数字,如果是,则返回true,反之返回fals…… 题解列表 2023年09月25日 0 点赞 0 评论 315 浏览 评分:0.0
将一个字符数组中的元音音素复制到另一个数组 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void tiqu(char a[],int k,char b[]){int i,j=0;for…… 题解列表 2023年09月25日 0 点赞 0 评论 338 浏览 评分:0.0
1804: 蓝桥杯算法提高- c++_ch02_02 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<bits/stdc++.h> using namespace std; int main(){ in…… 题解列表 2023年09月26日 0 点赞 0 评论 217 浏览 评分:0.0
1805: 蓝桥杯算法提高- c++_ch02_03 摘要:解题思路:把所有结果列举为二维矩阵。注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[3][3]…… 题解列表 2023年09月26日 0 点赞 0 评论 254 浏览 评分:0.0
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b,c; cin>>a>>…… 题解列表 2023年09月26日 0 点赞 0 评论 231 浏览 评分:0.0
用printf输出即可 摘要:解题思路:不要少注意事项:用printf输出即可参考代码:#include<stdio.h>int main(){ printf("**************************/n"); …… 题解列表 2023年09月26日 0 点赞 0 评论 289 浏览 评分:0.0
注意问题所问! 摘要:解题思路:相互比较,运用if语句完成注意事项:比较大小参考代码:#include<stdio.h>int main(){ int a,b,c,g; scanf("%d%d%d",&a,&b…… 题解列表 2023年09月26日 0 点赞 0 评论 206 浏览 评分:0.0