题解列表

筛选

[编程入门]成绩评定

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){     cin>>n; if(n>=……

简易代码(C)望空破茧

摘要:解题思路:常规:赋值——比较——得出最小绝对值的下标——调换——输出注意事项:见代码解析参考代码:#include <stdio.h>//输入数据并交换后输出 #include <math.h> in……

1061: 二级C语言-计负均正

摘要:解题思路:咱不说别的,直接上代码!!!(因为其实也没啥好说的~)参考代码:#include<bits/stdc++.h> using namespace std; int main() { ……

Python题解字符串分类统计

摘要:解题思路:注意事项:参考代码:zm,sz,kg,qt=0,0,0,0s=input()for c in s:    if c>=&#39;a&#39; and c<=&#39;z&#39; or c>……

二维数组转置

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],b[3][3]; int i,j; for(i=0;i<3;i++) { for(j=……

排序 (Java代码)

摘要:import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.util.*; public class M……

bfs-大胖子走迷宫

摘要:下方注释那地儿的判断条件不加在蓝桥oj没啥问题,但在这会超时 吐槽一句,蓝桥给的解析甚至过不了自己的oj ```cpp #include using namespace std; typed……

[编程入门]自定义函数之字符串连接

摘要:解题思路:连接两个字符串,需要灵活运用C语言中C函数库中提供的处理字符串的函数,利用gets(str)来获取字符串,然后用strcat连接两个字符串。参考代码:#include<stdio.h>voi……