- 博客(3)
- 收藏
- 关注
原创 HYSBZ2761 不重复数字【序列处理】(BZOJ2761)
2761: [JLOI2011]不重复数字Time Limit: 10 Sec Memory Limit: 128 MBSubmit: 5396 Solved: 2039[Submit][Status][Discuss]Description给出N个数,要求把其中重复的去掉,只保留第一次出现的数。例如,给出的数为1 2 18 3 3 19 2 3 6 5 4,其中2
2017-10-22 16:56:13 996
原创 CCF201709-1 打酱油(100分)
试题编号:201709-1试题名称:打酱油时间限制:1.0s内存限制:256.0MB问题描述:问题描述 小明带着N元钱去买酱油。酱油10块钱一瓶,商家进行促销,每买3瓶送1瓶,或者每买5瓶送2瓶。请问小明最多可以得到多少瓶酱油。输入格式 输入的第一行包含一个整数N,表示小明可用于
2017-10-18 07:17:17 17557 6
原创 UVA10200 Prime Time【素数判定】
Euler is a well-known matematician, and, among many other things, he discovered that the formula n2 + n + 41 produces a prime for 0 ≤ n < 40. For n = 40, the formula produces 1681, which is 41 ∗ ...
2017-10-07 17:33:49 1331
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人