- 博客(28)
- 收藏
- 关注
原创 HDU 2061 Treasure the new start, freshmen!(GPA的计算)
http://acm.hdu.edu.cn/showproblem.php?pid=2061Treasure the new start, freshmen!Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 15570
2016-10-30 18:22:40 381
原创 HDOJ 2057 A + B Again(水题,基础)
http://acm.hdu.edu.cn/showproblem.php?pid=2057A + B AgainTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 23442 Accepted Submission(
2016-10-30 17:49:56 639
原创 HDOJ 4506 小明系列故事——师兄帮帮忙(腾讯专场,快速幂)
http://acm.hdu.edu.cn/showproblem.php?pid=4506小明系列故事——师兄帮帮忙Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 5563 Accepted Submission
2016-10-28 22:12:57 360
原创 POJ 3041 Asteroids(摧毁小行星,二分图)
AsteroidsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 20910 Accepted: 11355DescriptionBessie wants to navigate her spaceship through a dangerous as
2016-10-28 20:05:15 239
原创 HDOJ 1874 畅通工程续(最短路)
畅通工程续Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 47846 Accepted Submission(s): 17790Problem Description某省自从实行了很多年的畅通工程计划后
2016-10-27 22:11:27 210
原创 HDOJ 1596 find the safest road(最短路)
find the safest roadTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11945 Accepted Submission(s): 4246Problem DescriptionXX星
2016-10-26 22:26:54 299
原创 HDU 2034 人见人爱A-B(集合的差值)
人见人爱A-BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 70241 Accepted Submission(s): 19653Problem Description参加过上个月月赛的同学一定还记得
2016-10-25 13:33:52 352
原创 HDU 2036 改革春风吹满地(任意多边形面积)
改革春风吹满地Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 30657 Accepted Submission(s): 15791Problem Description“ 改革春风吹满地,不会AC
2016-10-25 13:24:02 381
原创 严蔚敏 数据结构 二叉树链式存储结构 遍历等操作
课本 《数据结构(C语言版)(第2版)》 严蔚敏版树结构的学习。编译环境:DEV C++文件格式为 cpp(c++文件类型),前者的引用函数,在 C 的情况下没完成。实现:二叉树的先序遍历创建,三种遍历方法,叶子节点的查询等。参考 code: #include #include #define Shyazhut 0//条件启用求叶子节点的函数:0 不使用c
2016-10-24 20:32:56 3904
原创 CodeForces 337C Quiz(二分,快速幂,答题得分最小值)
C. Quiztime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputManao is taking part in a quiz. The quiz consists of
2016-10-22 23:11:49 405
原创 CodeForces 337A Puzzles(极值差最小)
A. Puzzlestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe end of the school year is near and Ms. Manana
2016-10-22 23:00:06 393
原创 严蔚敏数据结构KMP算法next函数修改值
课本 《数据结构(C语言版)(第2版)》 严蔚敏版前言:这次作业写的真是一个无语,课本印刷的代码就是错的,是不是自己上课没好好听讲,老师已经修改了?P95 的KMP算法有bug。现将通过的程序贴出来,纪念一下 nextval[] 的第一个代码。#include #include const int MaxLength = 1e5;typedef stru
2016-10-20 13:25:15 1817 1
原创 CodeForces 723B Text Document Analysis(字符串的分析)
B. Text Document Analysistime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputModern text editors usually show s
2016-10-19 22:35:29 424
原创 CodeForces 731A Night at the Museum(博物馆循环的单词表)
http://codeforces.com/problemset/problem/731/AA. Night at the Museumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard o
2016-10-19 17:53:57 807
原创 HDU 2136 Largest prime factor(最大素因子)
http://acm.hdu.edu.cn/showproblem.php?pid=2136Largest prime factorTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11089 Accepted
2016-10-19 17:22:43 498
原创 CodeForces 732B Cormen — The Best Friend Of a Man(带着宠物轧马路)
http://codeforces.com/contest/732/problem/BB. Cormen — The Best Friend Of a Mantime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutput
2016-10-18 17:35:06 789
原创 CodeForces 732A Buy a Shovel(买铁铲不找零,掉分继续)
http://codeforces.com/contest/732/problem/AA. Buy a Shoveltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
2016-10-18 17:31:07 659
原创 CodeForces 368C Sereja and Algorithm(dp)
http://codeforces.com/contest/368/problem/CC. Sereja and Algorithmtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard out
2016-10-13 22:20:44 288
原创 CodeForces 722C Destroying Array(数组删除区间最大值)
http://codeforces.com/contest/722/problem/CC. Destroying Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
2016-10-11 22:15:12 416
原创 CodeForces 722B Verse Pattern
http://codeforces.com/problemset/problem/722/BB. Verse Patterntime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
2016-10-11 22:09:26 425
原创 CodeForces 722A Broken Clock(破碎钟表)
http://codeforces.com/problemset/problem/722/AA. Broken Clocktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
2016-10-11 21:58:21 648
原创 CodeForces 724A Checking the Calendar(月份星期的判断,第四场掉分了)
http://codeforces.com/problemset/problem/724/AA. Checking the Calendartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard
2016-10-10 18:55:09 429
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人