[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:x=int(input())if x>=0 and x<60: print("E")elif x>=60 and x<70: print("D")elif x…… 题解列表 2023年01月14日 1 点赞 2 评论 1552 浏览 评分:9.9
【Python题解】姜太公钓鱼 摘要:参考代码:n = int(input()) lis = list(map(int, input().split())) count = 0 for i in lis: if i <= …… 题解列表 2023年01月14日 0 点赞 0 评论 346 浏览 评分:9.9
【Python题解】程序员爬楼梯 摘要:解题思路:简单的动态规划。参考代码:n = int(input()) dp = [1 for i in range(n+1)] # 边界条件:dp[0]=dp[1]=dp[2]=1 fo…… 题解列表 2023年01月14日 0 点赞 0 评论 282 浏览 评分:9.9
判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long n; scanf("%lld",&n); if(n%3==0 && n%…… 题解列表 2023年01月14日 0 点赞 0 评论 413 浏览 评分:0.0
收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if(n>=10 ||…… 题解列表 2023年01月14日 0 点赞 0 评论 346 浏览 评分:0.0
晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n==1||n==3||n==…… 题解列表 2023年01月14日 0 点赞 0 评论 295 浏览 评分:3.0
骑车与走路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; double s1,s2; scanf("%d",&n); s1=…… 题解列表 2023年01月14日 0 点赞 0 评论 324 浏览 评分:0.0
分段函数(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fun(double x){ if(x>=0 && x<5) { return -…… 题解列表 2023年01月14日 0 点赞 0 评论 411 浏览 评分:7.3
C++简便易懂 摘要:# 其实这题直接点提交就行了 ``` #include using namespace std; int main() { int a,b; while(cin>>a>>…… 题解列表 2023年01月14日 0 点赞 0 评论 392 浏览 评分:9.9
从大到小的顺序输出其中前m大的数 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split())L = list(map(int,input().split()))L.sort(reverse = True…… 题解列表 2023年01月14日 0 点赞 0 评论 314 浏览 评分:0.0