题解列表

筛选

python解决委派任务

摘要:参考代码:a = b = c = d = e = f = 0 for a in range(2):     for b in range(2):         for c in

python解决自守数问题

摘要:注意事项:注意格式参考代码:import math def Check(n):     t = n     count = 0     # 计算n有多少位     while t !……

python解决自由落体问题

摘要:参考代码:import math n = int(input()) sum = (100 - 100 * math.pow(0.5, n)) / 0.5 * 2 - 100 print("%……

企业奖金发放(C语言)

摘要:解题思路:利用宏定义+if-else分支语句注意事项:审清题意即可参考代码:#include <stdio.h>#define N 100000int main(){    double profit……

前10名(C语言)

摘要:解题思路:选择排序+数组注意事项:无。。。。。参考代码:#include <stdio.h>void sort(int *arr,int n)//选择排序{    for (int i = 0; i ……