题解列表

筛选

整型数据类型存储空间大小

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){     int x;     short y;     printf("%d %d", sizeof(x), ……

题解 2771: 大象喝水

摘要:解题思路:注意事项:参考代码:#incalude <bitz/stdc++.h>usiag namqspace sbd;doubxz r,h;int amzaing(){    cin>>h>>q; ……

2774: 计算三角形面积

解题思路:注意事项:参考代码:importmathx1,y1,x2,y2,x3,y3=map(float,input().strip().split())a=math.sqrt((x1-x2)**2+(y1-y2)**2)#计算边长b=math.sqrt((x1-x3)**2+(y1-y3)**2)c

python 计算多项式的值

摘要:解题思路:比较简单,仍用map函数注意事项:参考代码:x,a,b,c,d=map(float,input().split())print(&#39;%.7f&#39;%(a*x*x*x+b*x*x+c……

python求整数的和与均值

摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))while len(a)<=a[0]:    a.extend(map(int,input().spl……

C语言训练-阶乘和数* (C++代码)(直接输出样例hhhh)

解题思路:其实吧,,,这个真的只有样例给的几组数据符合要求,,,所以直接输出就好了,,,虽然我的确码了一个从1-1000000一个一个计算的代码,,,然而事实证明,,,真的只有1214540585。。。也是醉了23333注意事项:注意按照要求的顺序,,1145240585嗯,就这些吧。