题解列表
这道题能有多难???
摘要:解题思路:注意事项:参考代码:int main(){float i;scanf("%f",&i);printf("%6.2f\n",i);printf("%6.2f %6.2f\n",i,i);pri……
宏定义的三角形求法--海伦公式
摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_DEPRECATE#pragma warning(disable:4996)#include<stdio.h>#includ……
Ikaros-1808:[编程基础]输入输出练习之精度控制1 Python解决
摘要:解题思路:使用float、round函数即可参考代码:# number保存输入的浮点数值number = float(input())# 用round来保留三位小数点print(round(numbe……