会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
_大美
博客园
首页
新随笔
联系
管理
2018年5月17日
Sliding Window POJ - 2823
摘要: An array of size n ≤ 10 6 is given to you. There is a sliding window of size k which is moving from the very left of the array to the ...
阅读全文
posted @ 2018-05-17 08:58 _大美
阅读(185)
评论(0)
推荐(0)
2018年5月16日
LightOJ - 1197 Help Hanzo筛素数
摘要: Amakusa, the evil spiritual leader has captured the beautiful princess Nakururu. The reason behind this is he had a little problem wit...
阅读全文
posted @ 2018-05-16 09:57 _大美
阅读(208)
评论(0)
推荐(0)
2018年5月15日
Poj 2082 Terrible Sets
摘要: Terrible SetsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 5466 Accepted: 2792DescriptionLet N be the set of all natural...
阅读全文
posted @ 2018-05-15 20:41 _大美
阅读(185)
评论(0)
推荐(0)
LightOJ - 1213 Fantasy of a Summation
摘要: If you think codes, eat codes then sometimes you may get stressed. In your dreams you may see huge codes, as I have seen once. Here is...
阅读全文
posted @ 2018-05-15 20:19 _大美
阅读(250)
评论(0)
推荐(0)
POJ - 2116 Death to Binary?
摘要: The group of Absurd Calculation Maniacs has discovered a great new way how to count. Instead of using the ordinary decadic numbers, th...
阅读全文
posted @ 2018-05-15 17:42 _大美
阅读(200)
评论(0)
推荐(0)
LightOJ - 1220 Mysterious Bacteria
摘要: Dr. Mob has just discovered a Deathly Bacteria. He named it RC-01. RC-01 has a very strange reproduction system. RC-01 lives exactly x...
阅读全文
posted @ 2018-05-15 16:11 _大美
阅读(215)
评论(0)
推荐(0)
51Nod - 1188 最大公约数之和 V2
摘要: 给出一个数N,输出小于等于N的所有数,两两之间的最大公约数之和。相当于计算这段程序(程序中的gcd(i,j)表示i与j的最大公约数):G=0;for(i=1;i#include#include#include#include#include#include#inclu...
阅读全文
posted @ 2018-05-15 15:23 _大美
阅读(171)
评论(0)
推荐(0)
2018年5月12日
LightOJ - 1236 Pairs Forming LCM
摘要: Find the result of the following code:long long pairsFormLCM( int n ) { long long res = 0; for( int i = 1; i #include#include#in...
阅读全文
posted @ 2018-05-12 20:51 _大美
阅读(112)
评论(0)
推荐(0)
papillon
摘要: 求高精度浮点数a%b.......(想知道这个题目点进来 会是什么感受)#include#include#include#include#include#include#include#include#include#include#define maxn 10000...
阅读全文
posted @ 2018-05-12 20:22 _大美
阅读(134)
评论(0)
推荐(0)
LightOJ - 1245 Harmonic Number (II)
摘要: I was trying to solve problem '1234 - Harmonic Number', I wrote the following codelong long H( int n ) { long long res = 0; for(...
阅读全文
posted @ 2018-05-12 09:18 _大美
阅读(136)
评论(0)
推荐(0)
2018年5月11日
LightOJ - 1259 Goldbach`s Conjecture(素数筛法)
摘要: Goldbach's conjecture is one of the oldest unsolved problems in number theory and in all of mathematics. It states:Every even integer,...
阅读全文
posted @ 2018-05-11 16:35 _大美
阅读(148)
评论(0)
推荐(0)
Steps POJ - 2590
摘要: StepsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8219 Accepted: 3747DescriptionOne steps through integer points of the...
阅读全文
posted @ 2018-05-11 10:31 _大美
阅读(129)
评论(0)
推荐(0)
LightOJ - 1336 Sigma Function (因子和)
摘要: Sigma function is an interesting function in Number Theory. It is denoted by the Greek letter Sigma (σ). This function actually denote...
阅读全文
posted @ 2018-05-11 09:42 _大美
阅读(182)
评论(0)
推荐(0)
2018年5月10日
LightOJ - 1341 Aladdin and the Flying Carpet (筛素数+找素因子+算数基本原理)
摘要: It's said that Aladdin had to solve seven mysteries before getting the Magical Lamp which summons a powerful Genie. Here we are concer...
阅读全文
posted @ 2018-05-10 20:14 _大美
阅读(180)
评论(0)
推荐(0)
FZU - 2261 浪里个浪
摘要: Problem 2261 浪里个浪 Accept: 253 Submit: 797Time Limit: 1500 mSec Memory Limit : 32768 KB Problem DescriptionTonyY是一个喜欢到处浪的男人,他的梦想是...
阅读全文
posted @ 2018-05-10 15:58 _大美
阅读(132)
评论(0)
推荐(0)
2018年5月9日
Cinema in Akiba(线段树)
摘要: I - Cinema in AkibaCinema in Akiba (CIA) is a small but very popular cinema in Akihabara. Every night the cinema is full of people. Th...
阅读全文
posted @ 2018-05-09 16:13 _大美
阅读(178)
评论(0)
推荐(0)
SGU - 518 Kidnapping(搜索dfs)
摘要: KidnappingBerland's Police has a serious problem. A foreign ambassador arrived to Berland with an important mission, and his daughter ...
阅读全文
posted @ 2018-05-09 10:26 _大美
阅读(164)
评论(0)
推荐(0)
2018年5月7日
632-掷骰子
摘要: 632-掷骰子内存限制:64MB 时间限制:3000ms Special Judge: Noaccepted:9 submit:54题目描述:小明有m个骰子,小红有n个骰子。每一个骰子都是标准六面骰子。他们分别掷出自己的骰子,如果小明的点数和大,则小明胜;否则小红胜。...
阅读全文
posted @ 2018-05-07 20:58 _大美
阅读(209)
评论(0)
推荐(0)
2018年5月5日
ZOJ - 2625 (大数)
摘要: Rearrange ThemN people stand in a line, and we numbered them 1,2...n, and now you are asked to rearrange them. The ith people is consi...
阅读全文
posted @ 2018-05-05 20:54 _大美
阅读(175)
评论(0)
推荐(0)
nyoj 1129 Salvation(搜索)
摘要: Salvation时间限制:1000 ms | 内存限制:65535 KB 难度:3描述 神秘瀑布镇是一个神秘的地方,那里有吸血鬼,狼人,巫师,二重身。 Klaus(吸血鬼祖先) 为了利用 Elena 的血液发展他的混血大军(吸血鬼&狼人),也来...
阅读全文
posted @ 2018-05-05 16:57 _大美
阅读(133)
评论(0)
推荐(0)
下一页
公告