题解列表

筛选

一维数组的解法

摘要:```cpp#includeusing namespace std;int main(){ int a; while(cin >> a) { ……

2918成绩排序--链表实现

摘要:解题思路:链表实现注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>typedef……

C++:勉强算找规律仔细解题,参考了某个人的题解

摘要:解题思路:我把金字塔外面的空格用零表示,金字塔内部的空格用一表示,以第三个金字塔为例观察图像可以发现除了最后一行和第一行之外,其他的金字塔中间都是空白的,整体是对称的,所以是有规律的规律如下:……

1738: 排序 冒泡排序

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using namespace s……

3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ &nbs……

2025/8/18刷题记录

摘要:解题思路:End of file意思是输入不为null注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){&nb……

2025/8/18刷题记录

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char s[51];&……

2916 谁考了第k名

摘要:解题思路:注意事项:byd 这题坑死我,多亏元宝AI,告诉我这题是按降序排列,题例给的真黑,正序倒序都是一样的,要是偶数个,就报错了!!!参考代码:#include<stdio.h>#in……