题解列表

筛选

酷酷酷酷酷酷酷酷酷

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double num[10]; int minindex……

啦啦啦啦啦啦

摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fact(int n){ double result=1; for(int i=1;i<=n;i++){……

最简单Sn求和

摘要:参考代码:n=int(input())b=0a=0for _ in range(n): a=a*10+2 b+=aprint(b)……

3020:最大数位置

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[1000],max,i,pos; scanf("%d",&……

题解 3326-易于理解:法一+法二

摘要:解题思路:可分为五个部分,复制到编译器会好看一点注意事项:参考代码:#include<bits/stdc++.h>//常用组合头文件usingnamespace……