题解列表

筛选

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101]; int i; while (scanf("%s……

2680-纸张尺寸

摘要:解题思路:注意事项:注意格式,输出要换行参考代码:#include<stdio.h>int main(){      int q[10000],w[10000],i=0;getchar();     ……

小题大作-用快速排序解决

摘要:会有点小题大作,适合练习算法,三个数看不出来时间复杂度的差异 快排对数据排好序之后,再输出最大值即可。 ```c #include int partition(int a[],int low……

糖果游戏(c语言)

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

画矩形(呃,(╹ڡ╹ ))

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a,b; scanf("%d%d",&a,&b); getchar(); cha……