题解列表

筛选

简单的a+b (C语言代码)

摘要:解题思路:a+b注意事项:参考代码:#include <stdio.h>int add(int a,int b){    int sum;    sum=a+b;    printf("两数之和是%d……

C语言训练-数字母 (C语言代码)

摘要:解题思路:数组存储字母注意事项:strlen的调用是通过这个#include <string.h>才可以实现的,且这里是用这个 gets(c);来输入字符串的!参考代码:         #inclu……

大小写转换 (C语言代码)

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

数列 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=10000+5; int a[M]; int main()……

字符排列问题 (Java代码)

摘要:解题思路:全排列算法列出所有的可能,然后去检查无重复项有几个注意事项:参考代码:public class 字符串排列 { public static String [] str = new Str……