题解列表

筛选

[编程入门]成绩评定

摘要:解题思路:注意事项:参考代码:x=int(input())if x>=0 and x<60:    print("E")elif x>=60 and x<70:    print("D")elif x……

【Python题解】姜太公钓鱼

摘要:参考代码:n = int(input()) lis = list(map(int, input().split())) count = 0 for i in lis:     if i <= ……

【Python题解】程序员爬楼梯

摘要:解题思路:简单的动态规划。参考代码:n = int(input()) dp = [1 for i in range(n+1)]     # 边界条件:dp[0]=dp[1]=dp[2]=1 fo……

收集瓶盖赢大奖

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){      int n,m;      scanf("%d%d",&n,&m);      if(n>=10 ||……

晶晶赴约会

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){      int n;      scanf("%d",&n);      if(n==1||n==3||n==……

骑车与走路

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int n;     double s1,s2;     scanf("%d",&n);     s1=……

分段函数(c语言)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fun(double x){      if(x>=0 && x<5)      {           return -……

C++简便易懂

摘要:# 其实这题直接点提交就行了 ``` #include using namespace std; int main() { int a,b; while(cin>>a>>……