C++简便易懂 摘要:# 其实这题直接点提交就行了 ``` #include using namespace std; int main() { int a,b; while(cin>>a>>…… 题解列表 2023年01月14日 0 点赞 0 评论 566 浏览 评分:9.9
分段函数(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fun(double x){ if(x>=0 && x<5) { return -…… 题解列表 2023年01月14日 0 点赞 0 评论 654 浏览 评分:7.3
骑车与走路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; double s1,s2; scanf("%d",&n); s1=…… 题解列表 2023年01月14日 0 点赞 0 评论 489 浏览 评分:0.0
晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n==1||n==3||n==…… 题解列表 2023年01月14日 0 点赞 0 评论 463 浏览 评分:3.0
收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d%d",&n,&m); if(n>=10 ||…… 题解列表 2023年01月14日 0 点赞 0 评论 534 浏览 评分:0.0
判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long n; scanf("%lld",&n); if(n%3==0 && n%…… 题解列表 2023年01月14日 0 点赞 0 评论 605 浏览 评分:0.0
【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 评论 496 浏览 评分: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 评论 526 浏览 评分:9.9
[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码: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 评论 1799 浏览 评分:9.9
c++解决矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { //矩阵的行数 int n = 0; ci…… 题解列表 2023年01月14日 0 点赞 0 评论 561 浏览 评分:9.9