查找最接近的元素二分 摘要:```cpp #include #include #include using namespace std; typedef long long LL; const int N =1000…… 题解列表 2023年09月25日 0 点赞 0 评论 467 浏览 评分:0.0
求长方形行面积问题,主要还是格式问题 摘要:注意事项: 1.输入的长和宽要在一行有空格隔开; 2.输出的周长和面积要是两行,且以C:和S:开头; 3.开头的C和S要是大写的,不然通不过…… 题解列表 2023年09月25日 0 点赞 0 评论 383 浏览 评分:0.0
1793: 玉龙学长买雪糕----递归 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int rec(int a); int main() { int a; …… 题解列表 2023年09月25日 0 点赞 0 评论 483 浏览 评分:9.9
c++ 筛选素数 摘要: #include using namespace std; int main() { int a; cin >> a; for( int i = 2; i …… 题解列表 2023年09月25日 0 点赞 0 评论 487 浏览 评分:9.9
1785: 指针/引用练习之交换数字 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int swap(int &a,int &b); int main() { …… 题解列表 2023年09月25日 0 点赞 0 评论 447 浏览 评分:0.0
1784: 矩阵的对角线之和 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int arr[5][5]; int …… 题解列表 2023年09月25日 0 点赞 0 评论 324 浏览 评分:0.0
1783: 星期判断机switch-case 和map容器两种方法解决 摘要:解题思路:注意事项:参考代码:switch-case方法#includeusing namespace std; int main() { int week; cin>>wee…… 题解列表 2023年09月25日 0 点赞 0 评论 463 浏览 评分:0.0
1016: [编程入门]水仙花数判断 摘要:解题思路:分别求出三位数的水仙花数的百位数,十分位数,个位数后。分别对其进行三次方处理判断即可注意事项:参考代码:#include<stdio.h>#include<math.h>int main()…… 题解列表 2023年09月24日 0 点赞 0 评论 379 浏览 评分:0.0
灌水=======标题太短了 啊啊啊啊啊啊啊 摘要:```cpp #include using namespace std; int main() { int n; int sum; while((scanf("%d",&n)) !…… 题解列表 2023年09月24日 0 点赞 0 评论 588 浏览 评分:4.0