2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long sum=0; long l…… 题解列表 2024年01月10日 0 点赞 0 评论 108 浏览 评分:0.0
2801: 奇数求和 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2024年01月10日 0 点赞 0 评论 144 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; cin>>k; long lo…… 题解列表 2024年01月10日 0 点赞 0 评论 108 浏览 评分:0.0
2806: 人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x,n; cin>>x>>n; …… 题解列表 2024年01月10日 0 点赞 0 评论 162 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n; int mer=1; …… 题解列表 2024年01月10日 0 点赞 0 评论 151 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:使用qsort函数注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int cmp(const void*a,const void*b){ re…… 题解列表 2024年01月10日 0 点赞 0 评论 179 浏览 评分:0.0
简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,g,s,b; scanf("%d",&i); b=i/100%10; s=i…… 题解列表 2024年01月10日 0 点赞 0 评论 196 浏览 评分:0.0
1470: 蓝桥杯基础练习VIP-时间转换 摘要:解题思路:除法注意事项:参考代码:n = int(input())h = n // 3600m = n % 3600 // 60s = n % 3600 % 60print(f"{h}:{m}:{s}…… 题解列表 2024年01月10日 0 点赞 0 评论 183 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:这个题容易一上来就将所有的五位和六位数循环一遍.但是这样不能得到满分,最多85. 这个方式称为暴力解法: ```python n = int(input()) for i in range(1…… 题解列表 2024年01月10日 0 点赞 0 评论 218 浏览 评分:0.0
编程入门:成绩测定 摘要:解题思路:注意事项:不要忘记“100”这个分数参考代码:#include<stdio.h>int main(){ int grade; scanf("%d",&grade); …… 题解列表 2024年01月10日 0 点赞 0 评论 212 浏览 评分:0.0