1137: C语言训练-求函数值-题解(python) 摘要:解题思路:注意事项:参考代码:a = int(input())def func1(x): if x == 1: y = 10 print(y) else: …… 题解列表 2021年10月23日 0 点赞 0 评论 837 浏览 评分:6.0
C语言训练-求函数值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int num[10000]={0},i,n; num[1]=10; for(i=2;i<10…… 题解列表 2017年08月30日 0 点赞 0 评论 1668 浏览 评分:2.0
C语言训练-求函数值 (C语言代码) 摘要:#include <stdio.h>int main(){ int x,f=10; scanf("%d",&x); if(x==1)f=10; else f=1…… 题解列表 2018年02月11日 0 点赞 0 评论 1079 浏览 评分:0.0
C语言训练-求函数值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>int main(){ i…… 题解列表 2018年04月22日 0 点赞 0 评论 1111 浏览 评分:0.0
编写题解 1137: C语言训练-求函数值 摘要:解题思路:注意事项:参考代码:n =int(input())ls = [10]for i in range(n): ls.append(ls[-1]+2)print(ls[-2])…… 题解列表 2021年12月15日 0 点赞 0 评论 433 浏览 评分:0.0
1137: C语言训练-求函数值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a=10,i,x;void fun1(){ scanf("%d",&x); if(x==1) { …… 题解列表 2022年01月25日 0 点赞 0 评论 448 浏览 评分:0.0
Hifipsysta-1137题-C语言训练-求函数值(C++代码)普通递归法 摘要:```cpp #include using namespace std; int func(int x){ int y=0; if(x==1){ y=1…… 题解列表 2022年01月30日 0 点赞 0 评论 330 浏览 评分:0.0
C语言训练-求函数值 (C语言代码)(递归) 摘要:解题思路:注意事项:参考代码:/*按如下递归公式求函数值。 x=1时 f(x)=10;x>1时 f(x)=f(x-1)+2*/#include <stdio.h>int f(int x);int ma…… 题解列表 2018年03月08日 1 点赞 0 评论 1825 浏览 评分:0.0
编写题解 1137: C语言训练-求函数值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>#include<ctype.h>#include<math.h>using namespace …… 题解列表 2022年03月21日 0 点赞 0 评论 338 浏览 评分:0.0
题解 1137: C语言训练-求函数值(C) 摘要:参考代码:#include<stdio.h> int main(void){ int x,y=10; int i; scanf("%d",&x); if(x>1){ …… 题解列表 2022年08月27日 1 点赞 0 评论 417 浏览 评分:0.0