题解列表

筛选

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

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b<<endl……

DNA (C语言代码)

摘要:解题思路:  注意事项:参考代码:#include <stdio.h> #include"stdlib.h" #include"string.h" #include"math.h" int m……

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

摘要:解题思路:思路只要自己去推算一下,就知道是f(x)=f(x-1)+f(x-3)的迭代,使用了递归函数运行不起来,所以使用数组。注意事项:因为看题目,是要先输入所有的数,直到输入0为止才会有输出,所以先……

Hello, world! (Java代码)

摘要:解题思路:注意事项:参考代码:package cWeb.buleCup; import java.util.Scanner; public class C1083 { public……