饮料换购python版解答 摘要:解题思路:本题主要使用模拟的思路进行求解,在确定while的结束条件的时候需要注意,当n=2的时候如果讲两个空瓶都用完还可以再去换购一次,所以要当心他的条件注意事项:参考代码: …… 题解列表 2022年03月28日 0 点赞 0 评论 385 浏览 评分:2.7
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>int main(){ …… 题解列表 2022年11月14日 0 点赞 0 评论 479 浏览 评分:2.7
3129: 信息学奥赛一本通T1352-奖金 摘要:```cpp #include #include #include #include using namespace std; #define N 20001 int n,m,tot=0…… 题解列表 2023年01月13日 0 点赞 0 评论 602 浏览 评分:2.7
不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[100],i,r; int max; int sum=0; scanf("%d",&n); …… 题解列表 2023年02月20日 0 点赞 0 评论 380 浏览 评分:2.7
通过观察数学规律求解 摘要:## 原理参考其他人的解释 ```java package ___2022年省赛Java大学A组; import java.util.Scanner; public clas…… 题解列表 2023年03月31日 0 点赞 0 评论 575 浏览 评分:2.7
蓝桥杯基础练习VIP-数的读法 (C语言代码) 摘要:解题思路: 这题用这个残缺不全的代码能AC我都不敢相信自己的眼睛QWQ注意事项:参考代码:#include <stdio.h> char s[12][5] = {"ling","yi","er"…… 题解列表 2019年01月30日 1 点赞 1 评论 1217 浏览 评分:2.6
压位高精乘法 摘要:解题思路:朴素的高精度乘法是一位一位存数的,而用于存储结果的int(我用的是short)数组中每一个元素显然能存储比9大得多的数,这就造成很多浪费。因而改为每次都进行k位数相乘,最终结果的每一个元素为…… 题解列表 2021年10月16日 0 点赞 0 评论 696 浏览 评分:2.6
鸡尾酒疗法,简单方法 摘要:解题思路:注意事项:用整形数据进行除法是要在前面乘以1.0。将其换成浮点型的数据也是可以的。参考代码:#include<stdio.h>int main(){ int n,i,a,b,x,y; …… 题解列表 2023年01月07日 0 点赞 0 评论 504 浏览 评分:2.6
奶奶个蛋,比赛的时候写的一样,但是肯定不对 摘要:#include using namespace std; #define int long long int n; const int N=1e5+1; struct fly { i…… 题解列表 2023年04月10日 1 点赞 1 评论 1435 浏览 评分:2.6
C++STL ,结构体 来写,简单明了 摘要:#include<iostream> #include<algorithm> #include<string> using namespace std; struct str{ int a…… 题解列表 2023年11月06日 0 点赞 0 评论 262 浏览 评分:2.6