题解列表
1183: 人见人爱A+B
摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n): a,b,c,d,e,f=map(int,input().split()) s=(c+f)%6……
【c语言求解】【编程入门】自定义函数求一元二次方程
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double over(double a,double b,double c);……
1095:The 3n+1 problem(要比较输入的n与m的大小)
摘要:#include<stdio.h>
#include<string.h>
int main()
{
int p,n,m,k,sum,a[1000],j,max;
k=0;
……
求阶乘需要注意几个点--递归
摘要:解题思路:我用的递归注意事项:递归的结束条件不能仅仅是(x==1)return 1;而应该是(x==1||x==0)return 1;或者直接是(x==0)return 1;因为0的阶乘是1;如果只是……
python-倍数问题
摘要:解题思路:注意事项:参考代码:from cmath import inf
n,k = map(int,input().strip().split())
……
C语言训练-排序问题<1>
摘要:x=list(map(int,input().split()))
x.sort()
for i in x:
print(i,end=' ')解题思路:注意事项:参考代码:……