
思维
文章平均质量分 74
Joefery
生命不息,战斗不止。
展开
-
CodeForces 560C Gerald's Hexagon【思维】
DescriptionGerald got a very curious hexagon for his birthday. The boy found out that all the angles of the hexagon are equal to . Then he measured the length of its sides, and found that each o原创 2016-10-19 22:28:05 · 700 阅读 · 0 评论 -
UVALive 7339 Owllen【思维】
题目链接/* 题意:给定一个字符串,让你构造一个字符串使得两个字符串的最长公共自序列 尽可能短,输出最短长度 类型:思维 分析:找二十六个字母中出现次数最少的,就是答案,每次构造的字符串全部用出现 最少的字符填满,如果存在没出现的字符,那长度显然为0*/#include#include#include#i原创 2016-10-26 00:58:01 · 436 阅读 · 0 评论 -
CodeForces 405D Toy Sum【思维】
DescriptionLittle Chris is very keen on his toy blocks. His teacher, however, wants Chris to solve more problems, so he decided to play a trick on Chris.There are exactly s blocks in Chris's set原创 2016-11-06 17:12:14 · 725 阅读 · 0 评论 -
CodeForces 405C Unusual Product【思维】
DescriptionLittle Chris is a huge fan of linear algebra. This time he has been given a homework about the unusual square of a square matrix.The dot product of two integer number vectors x and y原创 2016-11-06 16:55:34 · 547 阅读 · 0 评论 -
B. Far Relative’s Problem【思维】
time limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputFamil Door wants to celebrate his birthday with his friends原创 2016-03-11 13:54:32 · 624 阅读 · 0 评论 -
Codeforces Round #344 (Div. 2) B. Print Check【思维】
B. Print Checktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputKris works in a large company "Blake Technolo原创 2016-03-14 18:44:17 · 708 阅读 · 0 评论 -
Educational Codeforces Round 9 C. The Smallest String Concatenation【思维】
C. The Smallest String Concatenationtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou're given a list of原创 2016-03-16 21:45:14 · 768 阅读 · 0 评论 -
codeforces 599 C. Day at the Beach【思维】
C. Day at the Beachtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day Squidward, Spongebob and Patric原创 2016-08-17 14:43:07 · 436 阅读 · 0 评论 -
Codeforces 598B Queries on a String 【思维】
B. Queries on a Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string s and should原创 2016-08-30 21:19:41 · 807 阅读 · 0 评论 -
Gym 101138I Prime Moving【素数测试】
Descriptionstandard input/outputStatementsThe author of this problem hopes that you already know the pig called Benny.Recently she started learning numbers. The first type of numbers she h原创 2016-10-28 11:15:08 · 434 阅读 · 0 评论