题解列表

筛选

水无月C语言版本

摘要:**代码:** ```C #include int main() { unsigned long int i,a,n,sum=0,t; scanf("%d%d",&a,&n); ……

简单写一下

摘要:解题思路:注意事项:参考代码:ls=list(map(int,input().split()))n=int(input())suoyin=0for i in ls:    if n>=i:      ……

石头剪刀布python程序写法

摘要:解题思路:a,b=map(int,input().split())if a==b:    print("0")elif a>b:    if a==2 and b==0:        print("……
优质题解

N以内累加求和(c++代码)

摘要:这道题是我们在学习for循环(**1**),while循环(**2**),包括函数(**3**)的学习过程中都会遇到的一道经典题目,所以我们介绍下面的**五**种方法。至于第四,五种方法我们卖个关子,……
优质题解

求1+2+3+...+n的值(C++代码)

摘要:这道题是我们在学习for循环(**1**),while循环(**2**),包括函数(**3**)的学习过程中都会遇到的一道经典题目,所以我们介绍下面的**五**种方法。至于第四,五种方法我们卖个关子,……

1951: 求平方和

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<bits/stdc++.h> using namespace std; ……

1952: 求长方形面积

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() {     int n……

1953: 三位数分解

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() {     int n……

水无月C语言版本

摘要:**题目链接:**[题目 1150: C语言训练-计算t=1+1/2+1/3+...+1/n](https://www.dotcpp.com/oj/problem1150.html) **解题思路:……