2017-08-18 21:53:38 writer:pprp 题意如下: 题意:给你一个n代表有多少重量的冰激凌块,再给你要求的冰激凌塔的层数,冰激凌塔的规则是下一个必须等于或者大于上一层的二倍 然后给你n个重量,问你最多可以完成需要的多少个冰激凌塔 答案有二分性质,所以先进行二分,然后判断该答案
原创 2021-12-28 15:29:16
311阅读
题意:供应商提供n块价格为c的冰淇淋,一个学生想买n块冰淇淋,手中的钱数总共有t元,为了不让买n块冰淇淋所花费的钱数不超过t元,先尽可能卖给这个学生便宜的冰淇淋。如果这个学生不能买到所需要的冰淇淋则输出“UNHAPPY”,能则输出“HAPPY”。 1 #include 2 #include ...
转载 2014-08-09 16:00:00
196阅读
2评论
 Android 4.0 for UsersSimple, beautiful, beyond smartAndroid 4.0 builds on the things people love most about Android — easymul
原创 2023-07-04 17:16:45
70阅读
    解法:如果能做x个冰淇淋塔的话,那么最优做法必然是先取最小的x个冰淇淋球作为第一层,然后一层一层往下铺。可以把冰淇淋球从小到大排序,然后二分枚举x的值,依次判断能否做成即可。复杂度O(NlogN)   代码: #include<bits/stdc++.h>using namespace std;typedef long long ll;const int N=3e5+10;
转载 2021-06-11 14:03:20
186阅读
Ice_cream's world ITime Limit : 3000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 1Accepted Submission(s) : 1Probl...
转载 2015-07-09 09:34:00
83阅读
2评论
test256 megabytesinputstandard inputoutputstandard outputAfter their adventu
原创 2022-09-07 16:35:31
37阅读
Ice_cream’s world III Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1212    Accepted Submission(s): 401
原创 2023-04-20 15:29:44
81阅读
MV Lyrics Selena Gomez: Come a little closer 再靠近一些吧 Cause you looking thirsty 只因你看起来口渴难耐 Imma make it better sip it like a Slurpee 我会缓解你的渴意 小啜一口仿佛品味思乐
原创 2021-07-28 14:09:54
1276阅读
android 4.0 (Ice Cream Sandwich)的源码终于放出来了,下载地
原创 2022-12-16 22:48:16
84阅读
Ice_cream’s world IIITime Limit : 3000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 6Accepted Submission(s) : 3Pro...
转载 2015-08-12 18:54:00
53阅读
2评论
Ice_cream’s world II Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3045    Accepted Submission(s): 718
原创 2023-04-24 09:40:27
688阅读
线段树的一些基本应用,就是函数写了很多,有点繁琐。以每个物品的单价建树,刚开始写了个裸的想水过去直接MLE了,然后又离散化了下。离散化单价后建树,lz数组用来清零,s数组保存结点所含物品个数,co数组保存结点所含物品的所有花费,以找第k大的方式找到第n个物品所在的结点位置i,求出前i-1个结点所包含...
转载 2014-06-03 00:04:00
58阅读
2评论
DescriptionAfter awarded lands to ACMers, the queen want to choose a city be her capital. This is an important event in ice_cream world, and it also a very difficult problem, because the world hav
原创 2022-11-10 01:09:37
3471阅读
并查集+最小生成树Ice_cream’s world IIITime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1121Accepted Submiss...
转载 2015-05-06 13:52:00
83阅读
2评论
Ice_cream's world ITime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 355Accepted Submission(s): 181Problem Descriptionice_cream's world is a rich country, it has many fertile lands. Today, the queen of ice_cream wants award land to diligent A
转载 2013-05-24 17:44:00
105阅读
2评论
Ice_cream’s world ITime Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 59 Accepted Submission(s) : 39 Font: Times New Roman | Verdana | Georgia Font
原创 2023-02-02 11:09:23
39阅读
Ice_cream's world I Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1830    Accepted Submission(s): 106
原创 2023-03-03 10:20:44
65阅读
311. Ice-cream TycoonTime limit per test: 0.5 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardYou've recently started an ice-crea...
转载 2014-05-02 12:44:00
106阅读
2评论
题目链接: A. Free Ice Cream
转载 2016-06-24 09:23:00
91阅读
Ice_cream's world ITime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Problem ...
转载 2016-08-01 16:31:00
49阅读
  • 1
  • 2
  • 3
  • 4
  • 5