1 2 3 4 5 ··· 8 下一页
摘要: 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 _大美 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Terrible SetsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 5466 Accepted: 2792DescriptionLet N be the set of all natural... 阅读全文
posted @ 2018-05-15 20:41 _大美 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 给出一个数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 _大美 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 求高精度浮点数a%b.......(想知道这个题目点进来 会是什么感受)#include#include#include#include#include#include#include#include#include#include#define maxn 10000... 阅读全文
posted @ 2018-05-12 20:22 _大美 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(143) 评论(0) 推荐(0) 编辑
摘要: StepsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8219 Accepted: 3747DescriptionOne steps through integer points of the... 阅读全文
posted @ 2018-05-11 10:31 _大美 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Problem 2261 浪里个浪 Accept: 253 Submit: 797Time Limit: 1500 mSec Memory Limit : 32768 KB Problem DescriptionTonyY是一个喜欢到处浪的男人,他的梦想是... 阅读全文
posted @ 2018-05-10 15:58 _大美 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 632-掷骰子内存限制:64MB 时间限制:3000ms Special Judge: Noaccepted:9 submit:54题目描述:小明有m个骰子,小红有n个骰子。每一个骰子都是标准六面骰子。他们分别掷出自己的骰子,如果小明的点数和大,则小明胜;否则小红胜。... 阅读全文
posted @ 2018-05-07 20:58 _大美 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 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 _大美 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Salvation时间限制:1000 ms | 内存限制:65535 KB 难度:3描述 神秘瀑布镇是一个神秘的地方,那里有吸血鬼,狼人,巫师,二重身。 Klaus(吸血鬼祖先) 为了利用 Elena 的血液发展他的混血大军(吸血鬼&狼人),也来... 阅读全文
posted @ 2018-05-05 16:57 _大美 阅读(129) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 8 下一页