2803: 整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k; cin>>k; long lo…… 题解列表 2024年01月10日 0 点赞 0 评论 153 浏览 评分:0.0
2806: 人口增长问题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x,n; cin>>x>>n; …… 题解列表 2024年01月10日 0 点赞 0 评论 221 浏览 评分:0.0
2805: 乘方计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,n; int mer=1; …… 题解列表 2024年01月10日 0 点赞 0 评论 194 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:使用qsort函数注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int cmp(const void*a,const void*b){ re…… 题解列表 2024年01月10日 0 点赞 0 评论 246 浏览 评分: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 评论 277 浏览 评分: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 评论 256 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:这个题容易一上来就将所有的五位和六位数循环一遍.但是这样不能得到满分,最多85. 这个方式称为暴力解法: ```python n = int(input()) for i in range(1…… 题解列表 2024年01月10日 0 点赞 0 评论 285 浏览 评分:0.0
编程入门:成绩测定 摘要:解题思路:注意事项:不要忘记“100”这个分数参考代码:#include<stdio.h>int main(){ int grade; scanf("%d",&grade); …… 题解列表 2024年01月10日 0 点赞 0 评论 287 浏览 评分:0.0
c代码记录之破解密码--水题 摘要:int不行,要用long long ```c #include int main() { long long a,b; while(scanf("%lld%lld",&a,…… 题解列表 2024年01月10日 0 点赞 0 评论 230 浏览 评分:0.0
题解 2758: 打印ASCII码(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char a; cin>>a; cout<<(int…… 题解列表 2024年01月10日 0 点赞 0 评论 199 浏览 评分:0.0