蓝桥杯算法训练-景点游览-题解(C++代码) 摘要:参考代码:#include<iostream> #include<algorithm> using namespace std; bool compare(int a,int b){ r…… 题解列表 2021年02月17日 0 点赞 0 评论 248 浏览 评分:0.0
蓝桥杯算法训练-二进制数数-题解(C++代码) 摘要:参考代码:#include<iostream> using namespace std; int main() { int l, r, n, yu, sum = 0; cin >> …… 题解列表 2021年02月17日 0 点赞 0 评论 189 浏览 评分:0.0
蓝桥杯算法训练-大等于n的最小完全平方数-题解(C++代码) 摘要:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int n, s; cin >>…… 题解列表 2021年02月17日 0 点赞 0 评论 280 浏览 评分:0.0
[编程入门]第一个HelloWorld程序!-题解(Python代码) 摘要:解题思路:注意事项:参考代码:print('**************************')print('Hello World!')print('**…… 题解列表 2021年02月17日 0 点赞 1 评论 897 浏览 评分:7.3
[编程入门]成绩评定-题解(Python代码) 摘要:参考代码:grade = int(input())if grade >= 90: print('A')elif grade >= 80: print('B'…… 题解列表 2021年02月18日 0 点赞 0 评论 394 浏览 评分:6.7
[编程入门]三个数最大值-题解(Python代码) 摘要:参考代码:a,b,c = map(int,input().split())if a>b and a>c: print(a)elif b>a and b>c: print(b)else: …… 题解列表 2021年02月18日 0 点赞 2 评论 606 浏览 评分:6.0
[编程入门]温度转换-题解(Python代码) 摘要:解题思路:注意事项:保留两位小数:"%.2f"%c参考代码:F = float(input())c = 5*(F-32)/9c = "%.2f"%cprint("c="+c)…… 题解列表 2021年02月18日 0 点赞 2 评论 2478 浏览 评分:9.7
[编程入门]分段函数求值-题解(Python代码) 摘要:x = float(input())if x < 1: print(int(x))elif 1 <= x < 10: print(int(2*x-1))else: print(int…… 题解列表 2021年02月18日 0 点赞 0 评论 416 浏览 评分:6.0
[编程入门]利润计算-题解(Python代码) 摘要:I = int(input())if I <=100000: I = I*0.1 print(int(I))elif 100000< I <=200000: I = 100000*0…… 题解列表 2021年02月18日 0 点赞 1 评论 585 浏览 评分:5.3
[竞赛入门]简单的a+b-题解(Python代码) 摘要:解题思路:注意事项:while True,让它能循环运行(自己就错在这里)参考代码:while True: a, b = map(int, input().split()) print(a…… 题解列表 2021年02月18日 0 点赞 0 评论 587 浏览 评分:5.5