41.输出全排列-题解(C++代码)只做最好的思路! 摘要:这题吧全排列,我做的时候直接用全排列函数就通过了,代码如下: ```cpp #include using namespace std; int a[15]; int main(){ in…… 题解列表 2020年04月10日 0 点赞 0 评论 1247 浏览 评分:8.0
字符串的输入输出处理-题解(C语言代码)强行让输出结果一致 为啥错误33% 摘要:```c ##include ##include int main() { int b,i=0; char a[100][100]; scanf("%d",&b); getch…… 题解列表 2020年04月10日 0 点赞 1 评论 389 浏览 评分:8.0
[编程入门]结构体之成绩记录-题解(Python代码) 摘要:凑字数凑字数凑字数凑字数凑字数 ```python n=int(input()) for i in range(0,n): print(','.join(list(input().sp…… 题解列表 2020年04月11日 0 点赞 0 评论 808 浏览 评分:8.0
[编程入门]运用之前的选择排序函数来写复用性较高的代码 摘要:```c #include #define N 3 void sort(int *a) { int i,j,min,temp,flag=1; for(i=0;i…… 题解列表 2020年04月11日 0 点赞 0 评论 577 浏览 评分:8.0
[编程入门]还是接着用选择排序算法加上字符串操作函数来实现 摘要:```c #include #include #define N 50 #define M 3 int main(void) { char s[M][N],s1[N]; …… 题解列表 2020年04月11日 0 点赞 0 评论 720 浏览 评分:8.0
索性都写在了一起,没有自定义函数 摘要:```c #include int main() { int i,n,m; scanf("%d",&n); int a[n],b[n]; for(i=0;…… 题解列表 2020年04月12日 0 点赞 0 评论 558 浏览 评分:8.0
C语言训练-谁家孩子跑最慢* -题解(Python代码) 摘要:这题真无聊 简单法 ```python print('w') ``` 麻烦法 ```python z=[] w=[8,] l=[9,] a=[7,6,5,4,3,2,1] b…… 题解列表 2020年04月12日 0 点赞 0 评论 930 浏览 评分:8.0
用数组实现,但是繁琐,仅供参考! 摘要:```c #include int main(void) { int i,j,n,sum=0,flag=0; scanf("%d",&n); int a[n]; …… 题解列表 2020年04月12日 0 点赞 0 评论 977 浏览 评分:8.0
Hello, world!-题解(C++代码) 摘要:````cpp #include using namespace std; int main() { int n; string s; while(cin>>n) { c…… 题解列表 2020年04月12日 0 点赞 0 评论 654 浏览 评分:8.0
[编程入门]结构体之成绩记录 摘要:```c #include struct Student{ char num[10]; char name[10]; int score[3]; }s[100];…… 题解列表 2020年04月13日 0 点赞 0 评论 993 浏览 评分:8.0