2013暑假集训
文章平均质量分 69
jjaw2013
cheerupUSC
展开
-
[选拔赛] Even Odds
Even OddsBeing a nonconformist, Volodya is displeased with the current state of things, particularly with the order of natural numbers (natural number is positive integer number). He is determined t原创 2013-07-06 19:26:31 · 848 阅读 · 0 评论 -
[暑期第二阶段]8月19日~8月30日总结
第二阶段总结2013年的暑假即将结束,这一个暑期来学到了不少东西,但是还有很多东西还不会,算一个遗憾吧。在第二阶段开始时,进行了两次个人赛,然后进行了分组训练,虽然成绩不太稳定,但是还是写了不少题。第一次使用了搜索,第一次使用sscanf,接触了很多新的知识,但是依旧对数据结构这方面的只是欠缺,我会在开学补上来的。下面是暑期第二阶段的训练情况。-----------------原创 2013-08-30 20:56:46 · 1023 阅读 · 0 评论 -
暑期第一阶段总结
暑期第一阶段总结第一阶段已经结束一周了,由于前段时间由于种种原因忘记写总结了,今天特来补上。暑期第一阶段培训,感觉收获还是比较大的,学会了不少算法,当然数据结构的算法由于个人原因就没去看过,所以导致现在还没学习数据结构的算法。在暑期自修的这段时间还是巩固第一阶段所学的算法,然后学习下新算法,为暑期第二阶段做准备。-------------------------原创 2013-07-27 10:54:23 · 918 阅读 · 0 评论 -
[第三次训练]A simple problem
A simple problemDescriptionDreamone has a lovely cat. The cat can comfort you if you are very dejected, she can also play with you if you are very bored. So Dreamone loves her very much. O原创 2013-07-13 19:50:20 · 874 阅读 · 0 评论 -
[第三次训练]Matrix Operation
Matrix OperationDescriptionYou are given a matrix M of type 1234x5678. It is initially filled with integers 1...1234x5678 in row major order. Your task is to process a list of commands man原创 2013-07-13 20:48:43 · 1140 阅读 · 0 评论 -
[第三次训练]Hard problem
Hard problemDescriptionThe cat gets N mice from dreamone, and she can choose K mice from them as the order which is listed from left to right for dinner. But there is a limitation that the原创 2013-07-13 20:09:59 · 979 阅读 · 0 评论 -
[第三次训练]Matrix Multiplication
Matrix MultiplicationDescriptionJohnny and John are good friends. Johnny is going to take the entrance exams for postgraduate schools. Recently, he is reviewing Linear Algebra. Johnny alwa原创 2013-07-13 20:34:54 · 858 阅读 · 0 评论 -
[第三次训练]Help Johnny
Help JohnnyDescriptionPoor Johnny is so busy this term. His tutor threw lots of hard problems to him and demanded him to accomplish those problems in a month. What a wicked tutor! After cu原创 2013-07-13 20:23:53 · 800 阅读 · 0 评论 -
[第二次训练]Little Sheep and a paper
题目略,题目传送门http://acm.hust.edu.cn/problem.php?cid=1106&pid=7。解题报告此题意思不难懂,就是拿一张纸,左右折,上下折,计算出有几条线段是凸出来了。第一次不论怎么折都是0条,然后能找出一个规律。就是记录左右和上下折的次数i,j(不包含第一次),所以ans=(2^i-1)*2^j+(2^j-1)*2^i.代码如下:#includ原创 2013-07-10 23:10:20 · 827 阅读 · 0 评论 -
[暑期第一次总结]7.5-7.10.(已修改)
先上四次比赛的榜单。榜单一:(选拔赛(重开))榜单二:(第一次训练赛重开)RankUserNickSolvedMarkABCDEF1adminadmin68810:05:36(-2)10:07:18(-1)原创 2013-07-10 23:31:06 · 1057 阅读 · 0 评论 -
[第二次训练]The mell hall
The mell hallInput le: stdinOutput le: stdoutTime limit: 2 secondsIn HUST,there are always many students go to the mell hall at the same time as soon as the bell rings.Students have to queue原创 2013-07-10 22:59:54 · 1003 阅读 · 0 评论 -
[第一次训练]Function
FunctionDefine a function f(n)=(f(n-1)+1)/f(n-2). You already got f(1) and f(2). Now, give you a number m, please find the value of f(m).InputThere are several test cases. Each case contains原创 2013-07-07 23:08:43 · 821 阅读 · 0 评论 -
[第一次训练]Arithmetic Progression
Arithmetic Progression“In mathematics, an arithmetic progression (AP) or arithmetic sequence is a sequence of numbers such that the difference between the consecutive terms is constant. For instance原创 2013-07-07 22:54:54 · 1126 阅读 · 0 评论 -
[第一次训练]Eming
EmingEming is a contest hold by WHUACM training team. The aim is to select new members of the team. Usually, the first problem is a very simple problem such as “a+b problem”. But this time, Xiou原创 2013-07-07 22:49:02 · 1015 阅读 · 0 评论 -
[选拔赛]A^BmodC
A^BmodC计算A的B次幂对c取模(A^BmodC)并且1输入三个整数A,B,C,输入文件每一行依次三个整数a,b,c用空格隔开每行输出一个运算结果Sample:Input:3 4 510 10 10045 67 891 1 1Output:10450解题报告由于此题数据不多,而且时间给的多,所以当时用的是A*A原创 2013-07-06 19:53:30 · 1410 阅读 · 0 评论 -
[选拔赛]蜗牛!快爬!
蜗牛!快爬!Problem Description很久以前有一只蚂蚁,某天在路上走着走着,突然看见了一只蜗牛,爬的很慢。心想自己虽然比它小,可是跑得比它快,于是蚂蚁想跟蜗牛进行一次马拉松比赛,想证明它的实力。蚂蚁跟蜗牛商量后决定在星期六下午进行马拉松比赛。The day is coming….比赛跑道为一条直线,Unlucky!!跑道上有很多坑。注意哦,坑!蜗牛想知道它掉下坑底后,爬上原创 2013-07-06 19:45:04 · 993 阅读 · 0 评论 -
[选拔赛]Strings of Power
Strings of PowerVolodya likes listening to heavy metal and (occasionally) reading. No wonder Volodya is especially interested in texts concerning his favourite music style.Volodya calls a stri原创 2013-07-06 19:33:29 · 812 阅读 · 0 评论 -
[第一次训练]Brackets
Brackets This year MK is 5 years old. So he decides to learn some arithmetic. But he was confused by how to write the brackets. He has already known that the brackets should match when writing them原创 2013-07-07 23:03:56 · 926 阅读 · 0 评论