题解列表

筛选

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    double x1,y1,x2,y2,x3,y3,a……

两行解决字符替换

摘要:解题思路:0.0注意事项:奥利给加油!参考代码:n,a,b=map(str,input().split())print(n.replace(a,b))……

统计数字字符

摘要:解题思路:0-9 10个数注意事项:参考代码:s=input()b=0for i in range(0,10):    cn=s.count(str(i))    b+=cnprint(b)……

1013: [编程入门]Sn的公式求和

摘要:解题思路:注意事项:参考代码:n=int(input())k=0s=0sum=0while True:    m=2*(10**k)    s=s+m    sum=sum+s    if n!=k+……