- 博客(18)
- 收藏
- 关注
原创 CF 170(div2)B
B. New Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputComing up with a new problem isn't as easy as many peo
2013-05-23 13:54:11 876
原创 CF 174(div2) D
D. Cow Programtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFarmer John has just given the cows a program to play
2013-05-21 22:40:21 794
原创 CF 171 (div2)C
C. Laddertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've got an array, consisting of n integersa1, a2, ...,
2013-05-17 19:42:56 728
原创 CF 171(div2)A
A. Point on Spiraltime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputValera the horse lives on a plane. The Cartesian c
2013-05-16 23:49:41 731
原创 CF 177(div2) E(greedy )
E. Polo the Penguin and XOR operationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle penguin Polo likes permu
2013-05-16 16:46:09 1100
原创 CF 173(div2) B
B. Painting Eggstime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe Bitlandians are quite weird people. They have ve
2013-05-16 09:54:23 922
原创 CF 172(div2) D(单调队列)
D. Maximum Xor Secondarytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBike loves looking for the second maximum el
2013-05-15 20:44:53 952
原创 CF 174(div2) C
C. Cows and Sequencetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputBessie and the cows are playing with sequences a
2013-05-14 21:09:33 879
原创 CF 183(div2)
B.直接一天天加上去。#include #include #include #include #include #include #define LL long longusing namespace std;int fromy,fromm,fromd,toy,tom,tod;int month[13]={0,31,28,31,30,31,30,31,3
2013-05-13 14:55:41 956
原创 CF 178(div 2)B(greedy + 枚举)
B. Shaass and Bookshelftime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputShaass has n books. He wants to make a booksh
2013-05-12 20:50:59 907
原创 CF 179(div2)D(floyed)
D. Greg and Graphtime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGreg has a weighed directed graph, consisting of n
2013-05-12 12:40:42 1032
原创 CF 179(div2) C(线段树 || 扫描法 )
C. Greg and Arraytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGreg has an array a = a1, a2, ..., an andm operat
2013-05-12 09:16:48 1205
原创 uva 1471 - Defense Lines (最长上升子序列变形)
After the last war devastated your country, you - as the king of the land of Ardenia - decided it was high time to improve the defense of your capital city. A part of your fortification is a line of m
2013-05-08 23:51:20 2319 2
原创 poj 3903 Stock Exchange (最长上升子序列)
Stock ExchangeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2579 Accepted: 935DescriptionThe world financial crisis is quite a subject. Some people are
2013-05-08 21:38:49 1228
原创 uva 11488 - Hyper Prefix Sets(Trie)
HHyper Prefix SetsPrefix goodness of a set string is length of longest common prefix*number of strings in the set. For example the prefix goodness of the set {000,001,0011} is 6.Yo
2013-05-07 12:05:46 1354
原创 uva 12086 - Potentiometers(树状数组)
PotentiometersInput: Standard InputOutput: Standard OutputA potentiometer, or potmeter for short, is an electronic device with a variable electric resistance. It has two terminals and so
2013-05-06 19:33:10 1136
原创 uva 1428 - Ping pong(树状数组)
integers a1, a2...aN follow, indicating the skill rank of each player, in the order of west to east (1ai100000 , i = 1...N ).OutputFor each test case, output a single line contains an
2013-05-06 17:30:52 1361
原创 简易获取字符串中空格隔开的数字
昨天蓝桥杯卡了一道水题,原因是不知道怎么读入。今天在网上搜了下,也没找到很合适的策略,索性自己yy了。如果有更好的方法,请大家指教!一个参考地址:http://bbs.csdn.net/topics/380203242yy代码:#include int main(){ char s[100]; int a[100]; gets(s); c
2013-05-06 13:50:08 1932
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人