题解列表

筛选

C语言训练-字符串正反连接 (Java代码)

摘要:解题思路:先输入字符串 输出原字符串  然后将String类转换为StringBuffer类 调用逆序方法输出注意事项:注意 string 与 stringBuffer 的转换和方法的调用参考代码:i……

C语言训练-尼科彻斯定理 (Java代码)

摘要:解题思路:先用求和公式  找出规律解出第一个值  最后通过循环按格式输出注意事项:参考代码import java.util.Scanner;public class E1127 {   public ……

明明的随机数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int N,k,*V; int ……

母牛的故事 (C语言代码)

摘要:解题思路:利用数组叠加注意事项:第8年牛的数量和第九年牛的数量要搞清楚参考代码:#include<stdio.h>#include<string.h>#define N 55int main(){  ……

字符逆序 (C++代码)

摘要:解题思路:algorithm头文件注意事项:参考代码:#include <iostream>#include <algorithm>#include <string> using namespace ……