题解列表
编写题解 1021: [编程入门]迭代法求平方根
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<math.h>
int main()
{
int a;
……
编写题解 1979: 求平均工资
摘要:解题思路:编辑数组先求和再求平均值注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,b=0,c; scanf("%d",&n); int a[n];……
蓝桥杯算法训练-送分啦 让我吐个槽
摘要:解题思路:真的这么奇葩吗,我还没试试NO会怎么样注意事项:参考代码:#include<stdio.h>int main(){ printf("yes"); return 0;}……
错误代码-有无大佬抢救下。题解2123:拦截导弹
摘要:解题思路: 不想从前往后扫描,想从后往前扫描,抢救不回来了。注意事项:参考代码:/**
* @author fzy
* @create 2021/10/11 9:56
**/
impor……
sor[1503]:前10名排序(Python) 2行代码,不能再少了,因为要处理第1行的数字
摘要:解题思路:接收输入,接收第2行输入,处理输入数据,map一下,list一下,排个序,再逆转,再列个表,切片一下,for循环打印输出。OK了注意事项:参考代码:别废话了,上代码吧n=int(input(……
P1000 3行结束
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d\n",a+b)……
二级C语言-分段函数
摘要:解题思路:通过分内容讨论进行定值注意事项:参考代码:#include<stdio.h>int main(){ double a; scanf("%lf",&a); if(a<1) printf("%.……
二级C语言-阶乘数列(Java代码)
摘要:解题思路:注意事项: 注意科学计数法:%.2e 其中2表示两位小数 存超大数字可以用 BigDecimal参考代码:import java.math.BigDecimal;i……
小白第一次写题解,简单思路,c++代码
摘要:解题思路:用字符数组存储字符串中出现的英文字母注意事项: 最好使用getline(cin,string)参考代码:#include<iostream>#include<str……