- 博客(28)
- 资源 (2)
- 收藏
- 关注
原创 codeforces 277 C. Palindrome Transformation (贪心)
C. Palindrome Transformationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNam is playing with a string on
2016-09-28 18:08:02 280
原创 codeforces 486 B. OR in Matrix
B. OR in Matrixtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's define logical OR as an operation on t
2016-09-27 16:53:51 428
原创 light oj 1033 - Generating Palindromes (LCS)
1033 - Generating Palindromes PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBBy definition palindrome is a string which is not
2016-09-26 20:14:21 262
原创 codeforces 711 B. Chris and Magic Square (简单)
B. Chris and Magic Squaretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon
2016-09-25 15:11:58 290
原创 codeforces 711 A. Bus to Udayland
A. Bus to Udaylandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon are tr
2016-09-25 15:04:07 336
原创 hdoj 2571 命运 (DP)
命运Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16985 Accepted Submission(s): 5930Problem Description穿过幽谷意味着离大魔王lemon已经无限接近
2016-09-24 20:53:58 304
原创 poj 1703 Find them, Catch them (并查集,思维)
Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 42026 Accepted: 12919DescriptionThe police office in Tadu City decides to say ends
2016-09-24 19:03:02 332
原创 codeforces 501 C. Misha and Forest (思维)
C. Misha and Foresttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLet's define a forest as a non-directed
2016-09-24 11:50:00 424
原创 codeforces 500 A. New Year Transportation
time limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputNew Year is coming in Line World! In this world, there are n
2016-09-22 13:59:14 304
转载 c++中verctor函数的用法详解
vector(向量): C++中的一种数据结构,确切的说是一个类.它相当于一个动态的数组,当程序员无法知道自己需要的数组的规模多大时,用其来解决问题可以达到最大节约空间的目的. 用法: 1.文件包含: 首先在程序开头处加上#include以包含所需要的类文件vector 还有一定要加上using na
2016-09-21 18:03:16 5419
原创 (实验一)学生信息
/*顺序表*/#include #include #include #include#define OK 1#define ERROR 0#define OVERFLOW -1using namespace std;#define MAXSIZE 100typedef struct{ char num[10]; //8 位学
2016-09-21 17:04:21 563
原创 light oj 1338 - Hidden Secret!
1338 - Hidden Secret! PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBIn this problem you are given two names, you have to find
2016-09-18 22:06:44 417
原创 light oj 1261 - K-SAT Problem (模拟)
1261 - K-SAT Problem PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBSAT was the first known NP-complete problem. The problem re
2016-09-17 09:51:55 646
原创 light oj 1311 - Unlucky Bird (物理啊)
1311 - Unlucky Bird PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBA bird was flying on a train line, singing and passing lazy
2016-09-16 21:18:30 338
原创 light oj 1227 - Boiled Eggs
1227 - Boiled Eggs PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBThree of the trouble-makers went to Malaysia this year. A r
2016-09-16 18:44:18 520
原创 light oj 1216 - Juice in the Glass (几何计算)
1216 - Juice in the Glass PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBOnce upon a time, there lived a mad programmer. He lov
2016-09-16 18:01:18 482
原创 light oj 1214 - Large Division (同于定理--整除运算)
1214 - Large Division PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBGiven two integers, a and b, you should check whether a is
2016-09-16 17:08:49 231
原创 light oj 1212 - Double Ended Queue (双向队列)
1212 - Double Ended Queue PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBA queue is a data structure based on the principle o
2016-09-16 16:33:44 575
原创 light oj 1211 - Intersection of Cubes (立方体的交集的体积)
1211 - Intersection of Cubes PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBYou are given n cubes, each cube is described by
2016-09-16 10:02:46 1039
原创 light oj 1202 - Bishops (规律)
1202 - Bishops PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBThere is an Infinite chessboard. Two bishops are there. (Bishop m
2016-09-16 09:24:07 292
原创 light oj 1078 - Integer Divisibility (取模运算)
1078 - Integer Divisibility PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBIf an integer is not divisible by 2 or 5, some multi
2016-09-12 18:53:27 272
原创 light oj 1020 - A Childhood Game (博弈)
1020 - A Childhood Game PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBAlice and Bob are playing a game with marbles; you may
2016-09-12 17:58:24 612
原创 hdoj 5253 连接的管道 (最小生成树-kruskal)
连接的管道Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2480 Accepted Submission(s): 911Problem Description老 Jack 有一片农田,以往几年都是靠天
2016-09-11 22:20:47 305
原创 light oj 1189 - Sum of Factorials (数学)
1189 - Sum of Factorials PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBGiven an integer n, you have to find whether it can b
2016-09-11 21:59:39 361
原创 light oj 1307 - Counting Triangles (二分--三角形个数)
1307 - Counting Triangles PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou are given N sticks having distinct lengths; you ha
2016-09-11 10:20:34 390
原创 light oj 1136 - Division by 3
1136 - Division by 3 PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBThere is sequence 1, 12, 123, 1234, ..., 12345678910, ... .
2016-09-10 18:49:13 380
原创 light oj 1305 - Area of a Parallelogram (数学 平行四边形坐标和面积)
1305 - Area of a Parallelogram PDF (English)StatisticsForumTime Limit: 1 second(s)Memory Limit: 32 MBA parallelogram is a quadrilateral with two pairs
2016-09-10 18:18:03 457
原创 poj 1061 青蛙的约会
青蛙的约会Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 107751 Accepted: 21550Description两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰
2016-09-09 21:57:55 256
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人