敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main (){ int c,d,i,j; scanf ("%d %d",&c,&d…… 题解列表 2022年11月05日 0 点赞 0 评论 387 浏览 评分:0.0
1020递归解法 摘要:解题思路:注意事项:参考代码:def peach(n): if n==1: return 1 else: return 2*peach(n-1)+2a=int(…… 题解列表 2022年11月05日 0 点赞 0 评论 369 浏览 评分:0.0
1015匿名函数解法(Python) 摘要:注意事项:其实写在一行,不过展示出来太臃肿,如果有优化的一行解写法请在评论区留言参考代码:lst = list(map(int, input().split()))print('{:.2f}&…… 题解列表 2022年11月05日 0 点赞 0 评论 343 浏览 评分:0.0
1132基础解法(Python) 摘要:注意事项:用sys.stdin避免输入异常,此题因为-1即表示终止,且不存在多个-1或者-1后仍有输入的情形,所以难度大大降低参考代码:import syslst = []for line in sy…… 题解列表 2022年11月05日 0 点赞 0 评论 324 浏览 评分:0.0
排序排序排序排序 C 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,t; int min,min_i; sca…… 题解列表 2022年11月05日 0 点赞 0 评论 457 浏览 评分:0.0
自定义函数处理最大公约数和最小公倍数 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Arrays;import java.util.Scanner;publi…… 题解列表 2022年11月05日 0 点赞 0 评论 391 浏览 评分:0.0
1173一行解(Python) 摘要:解题思路:注意事项:参考代码:import mathimport sysfor line in sys.stdin:print('{:.2f}'.format((4/3)*math.p…… 题解列表 2022年11月05日 0 点赞 0 评论 531 浏览 评分:0.0
JAVA最优解自定义函数求一元二次方程 摘要:解题思路:注意事项:参考代码:import java.text.DecimalFormat;import java.util.Arrays;import java.util.Scanner;publi…… 题解列表 2022年11月05日 0 点赞 0 评论 343 浏览 评分:0.0
解决大树问题二位数组的运用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100000]; int length; int number; int b[100000][2];…… 题解列表 2022年11月05日 0 点赞 0 评论 300 浏览 评分:0.0
剪刀石头布C++ 摘要:解题思路: 一一比较注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b; cin >> a >> b…… 题解列表 2022年11月05日 0 点赞 0 评论 300 浏览 评分:0.0