题解列表
求分数序列和(辗转相除法?)
摘要:注意事项:
规律:p/q,p+q/p ……,这么一个规律,用辗转相除法就很好做了,第一次接触这个方法,还是在求最大公约数和最小公倍数,不记得了的xd,可以回去看看
参考代码:
```c
#i……
求出e的值(byd,小心点 存放n!的数要用double类型)
摘要:参考代码:
```c
#include
int main()
{
int n;
scanf("%d",&n);
double e=1,a=1;//a是用来存放n!的,记得用浮点类型……
妹子杀手的故事-题解(C++代码)
摘要:解题思路:注意事项:参考代码:#include<iostream>
using namespace std;
int main()
{
int a,b;
while(cin>……
自定义函数之字符类型统计java
摘要: import java.util.Scanner;
public class Main {
public static void main(String[] args) {
S……
二级C语言-自定义函数 递归简单C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double f(int n){ if (n==0||n==1){ return……
c语言简单易懂!!!
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int ctof(int n){ int s; s=32+n*9/5; return s;}int main (){……