编写题解 1204: 大小写转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[80]; int i=0,l; while(gets(a)) …… 题解列表 2023年01月04日 0 点赞 0 评论 436 浏览 评分:0.0
编写题解 1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int prime(int n); int main() { int i = 0;; scanf("%d",…… 题解列表 2023年01月04日 0 点赞 0 评论 157 浏览 评分:0.0
编写题解 1180: 不容易系列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void sum(int t){ int i; int x=3; for(i=1;i<=t;i++) { …… 题解列表 2023年01月04日 0 点赞 0 评论 256 浏览 评分:0.0
题解 2997: 梯形面积 摘要:解题思路:先通过阴影三角形求高,再通过(上底+下底)*高/2求梯形面积注意事项:保留两位小数:print("%0.2f" %s)参考代码:h=150*2/15s=(15+25)*h/2print("%…… 题解列表 2023年01月04日 0 点赞 0 评论 765 浏览 评分:9.9
3040: An Easy Problem 摘要:解题思路:定义一个计数函数,从n+1开始循环,用计数函数扫描到的第一个数就是最小的。 要就复制吧,爱就点赞吧! *加五星好评*注意事项:从n+1开始循环!参考代码:#include<bits/st…… 题解列表 2023年01月04日 0 点赞 0 评论 284 浏览 评分:9.5
题解 2749: Hello, World! 摘要:解题思路:一条输出语句即可注意事项:注意逗号后面要打上一个空格参考代码:print("Hello, World!")…… 题解列表 2023年01月04日 0 点赞 0 评论 356 浏览 评分:0.0
A+B Problem(python) 摘要:解题思路:怎么同时输入多个数字 用map注意事项:参考代码: a,b=map(int,input().split())print(a+b)…… 题解列表 2023年01月04日 0 点赞 1 评论 905 浏览 评分:8.4
阶乘公式求职 摘要:解题思路:注意事项:参考代码:def fact(n): s = 1 for i in range(1,n+1): s*=i return(s)n = int(input…… 题解列表 2023年01月04日 0 点赞 0 评论 187 浏览 评分:0.0
1765: 循环入门练习2 摘要:解题思路:直接算注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int s=0; for(int i=…… 题解列表 2023年01月04日 0 点赞 0 评论 269 浏览 评分:9.9
通过坐标转换计算两点之间的距离 摘要:解题思路:通过坐标转换进行求解注意事项:参考代码:import math ver = list(map(int,input().split())) def x_y_transform(ver):#…… 题解列表 2023年01月04日 0 点赞 4 评论 884 浏览 评分:9.0