题解 1952: 求长方形面积 摘要:解题思路:考查长方形的周长和面积,整数类型,C语言基础知识注意事项:注意题目要求“C:”、“S:”参考代码:#include <stdio.h> int main() { int w,h; …… 题解列表 2024年10月25日 1 点赞 0 评论 461 浏览 评分:0.0
合并石子 区间dp模板 摘要: #include using namespace std; const int N=110; int f[N][N]={0}; int s[N]={0…… 题解列表 2024年10月25日 1 点赞 0 评论 247 浏览 评分:9.9
浮点型储存空间 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; double b; printf ("%d %d",sizeof(a),si…… 题解列表 2024年10月25日 0 点赞 0 评论 301 浏览 评分:0.0
题解 1040: [编程入门]实数的打印 摘要:解题思路: 可以直接三个打印注意事项:实数用"6.2f"格式输出参考代码:#include<stdio.h> int main() { float a; scanf("…… 题解列表 2024年10月25日 1 点赞 0 评论 282 浏览 评分:0.0
2773计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, ya, xb, yb; scanf("%lf %lf\n%…… 题解列表 2024年10月26日 0 点赞 0 评论 237 浏览 评分:9.9
2838: 有趣的跳跃 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ long long n; int t=0,j,i,k=1; …… 题解列表 2024年10月26日 0 点赞 0 评论 221 浏览 评分:0.0
数字的处理与判断python解 摘要:sd = input() print(len(sd)) print(' '.join(sd), end='') print("\n"+sd[::-1])注意事项:…… 题解列表 2024年10月26日 1 点赞 0 评论 316 浏览 评分:9.9
数字的处理与判断c语言题解 摘要:解题思路:这题可以分成三个用户自定义函数来实现3个功能注意事项:这是个人想法,没有看题解参考代码:#include <stdio.h> int Num(int sum); void separat…… 题解列表 2024年10月26日 1 点赞 0 评论 238 浏览 评分:9.9
判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 570 浏览 评分:9.9
利润计算c语言求解 摘要:解题思路:利用递归思想参考代码:#include <stdio.h> int func(int n); int main() { int n, result; scan…… 题解列表 2024年10月26日 12 点赞 1 评论 1329 浏览 评分:10.0