思维题
文章平均质量分 87
爱喝牛奶的男孩
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2021-3-21 练习记录
#include<bits/stdc++.h>using namespace std;const int maxn=1e5+5;int h[maxn],f[maxn],v[maxn];int ferfen(int start,int end,int water,int low){ int mid=(start+end)/2; if(start==end||start+1==end){ if(h[start]>water&&h[sta原创 2021-03-21 14:39:35 · 233 阅读 · 2 评论 -
Codeforces Beta Round #1-B. Spreadsheets
Codeforces Beta Round #1-B. SpreadsheetsIn the popular spreadsheets systems (for example, in Excel) the following numeration of columns is used. The first column has number A, the second — number B, etc. till column 26 that is marked by Z. Then there are原创 2020-12-15 11:05:04 · 197 阅读 · 0 评论 -
1022 简单题(三家人)
1022 简单题有三户人家共拥有一作花园,每户人家的太太均需帮忙整理花园。A太太工作了 5天,B太太则工作了 4天,才将花园整理完毕。C 太太因为正身怀六甲无法加入她们的行列,便出了 90 元。请问这笔钱如何分给 A、B二位太太较为恰当?A应得多少元?90/(5+4)*5=50元?如果这么想你就上当了!正确答案是 60元。如果没想通的话再想想吧。 下面回答一个一般性的问题:假定 A 太太工作了 x 天,B 太太工作了 y 天,C 太太出了 90 元,则 A太太应得多少元?输入保证二位太太均应得到非负整数原创 2020-11-28 17:16:11 · 596 阅读 · 1 评论
分享