题解列表

筛选

一种超简单标准的枚举方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    enum play{lose=-1,equality,win} result;    int a,b;  ……

一种超简单的方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int m,n;    int t;    int i,j;    int x,y;    scanf("……

一种超简单的方法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int m,n,w=1;    int t;    int i,j;    int x,y;    sca……

C语言 阶乘数列

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){         double factorial( int n);         double Sn = 0……

getchar用法。。。

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,m; char str[100]; scanf("%d",&n); getchar(); get……

数据结构-快速排序

摘要:解题思路:注意事项:    存储数组0位置设为空,起初存数。参考代码:#include<iostream>using namespace std;int partition(int* a,int lo……