Problem DescriptionTo have a healthy life, Hangzhou electric students should be so. For example, our exams today should be "good faith" as the top.The first topic of each exam is always very simple, today is no exception, the subject is required to output a specified size of the "HDU" string, in particular, in order to reflect the "upright" word, we require the output of the string is also a square (the number of rows and the number of columns equal).
The journey of a manTime limit:1000/1000 MS (java/others) Memory limit:32768/32768 K (java/others)Total submission (s): 18044 Accepted Submission (s): 6266Problem description Although the grass is a road fetish (is in Hangzhou electric for more than a year. Even the people who get lost on campus, sweat ~), but the grass is still very fond of travel. Because you will meet a lot of people on the road (Prince Charming. ^0^), very much, but also can enr
DescriptionAlthough the grass is a road fetish (that is, in Hangzhou electric for more than a year, incredibly still will be lost in the campus, Khan ~), but the grass is still very fond of travel, because in the journey will meet a lot of people (Prince Charming, ^0^), a lot of things, but also to enrich their experience, but also to see beautiful scenery ... Grass wants to go to many places, she wants to go to the Tokyo Tower to see the night scene,
Rape kingdomTime limit:2000/1000 MS (java/others) Memory limit:32768/32768 K (java/others)Total submission (s): 1609 Accepted Submission (s): 411Problem Description Program Design Competition is coming, as the school ACM Training Team Main, Xiao Ming training has been very hard. Today the weather is good, the coach is also in a great mood, an exception to the members of the team for a day off, Xiao Ming rode his little electric donkey to the outskirts
Tanabata FestivalTime limit:2000/1000 MS (java/others) Memory limit:65536/32768 K (java/others)Total submission (s): 30808 Accepted Submission (s): 9622Problem Description Tanabata day, matchmaker came to the digital kingdom, he posted a sign on the city gate, and the people of the Digital Kingdom said: "You want to know who your other half is?" then follow the signs on the way to find it!People come to the notice before they want to know who is their other half. The notice is as follows:
know how to solve it?Input for a given number of n (1 Output one row for each data, indicating the required time in minutesSample Input55WSample Output246AuthoreddySourceHangzhou Electric ACM Province race Training Team TryoutsSimilar to bubbling sort: think of a table of people as a numbered ring, and then if you want him to reverse order, then you can put this ring, upside down can be, then there is in the process of left and right inversion, the r
Test if you are as high as the LTC levelTime limit:2000/1000 MS (java/others) Memory limit:65536/32768 K (java/others)Total submission (s): 14276 Accepted Submission (s): 4701Problem description Everybody mentions LTC all admire not, however, if the contest only this one topic, I can guarantee you and he absolutely on a horizontal line!Your mission is to:A positive integer solution of x^2+y^2+z^2= num for the computational equation.Input data contains multiple test instances, one row per instan
The journey of a manTime limit:1000/1000 MS (java/others) Memory limit:32768/32768 K (java/others)Total submission (s): 24029 Accepted Submission (s): 8358Problem description Although grass son is a road crazy (is in Hangzhou electric stay for more than a year, incredibly still will be lost in campus, sweat ~), but grass son still very much like travel, because in the journey will meet a lot of people (Prince Charming, ^0^), many things, but also enri
Total solution of metering production operation system in electric power enterpriseI. PURPOSE of CONSTRUCTIONThe State Grid company develops the metering production operation system, which is responsible for unifying and arranging the intelligent storehouse and verifying assembly line equipment of the verification production base, and realizes the automatic assembly line production of the measuring device verification process.Metering production and o
Problem Description Although grass son is a road crazy (is in Hangzhou electric stay for more than a year, incredibly still will be lost in campus, sweat ~), but grass son still very much like travel, because in the journey will meet a lot of people (Prince Charming, ^0^), many things, but also enrich their experience, You can also see the beautiful scenery ... Grass wants to go to many places, she wants to go to the Tokyo Tower to see the night scene
Problem:Since the TC site upgrade to do the statistics of the TC column is not refreshed, for this whole brother also updated a bit of stepbystep configuration file What, I just want to hang it on the server can be.Because of the addition of the Hangzhou electric BC, it seems that this thing is not easy. You have to add a field to the database and experience it again.Solve:In the afternoon, on the git.oschina.net, enter the Stepbystep project and down
/* Audition ActressProblem DescriptionPotato teacher, although very fond of teaching, but under the pressure of life, have to find ways to earn some extra money in their spare time to feed their families."What is better than making money?" Sieve the sand no strength, look at the door and not handsome ... "potato teacher is very helpless.""Zhang Yimou is more ugly than you, now rich Ah, heard to also director the Olympic Opening Ceremony!" Why don't you go to the entertainment industry? LWG in th
Summer arrived, the weather is unusually hot, in no air-conditioning, no fan room inside, only a fan accompany, noon to eat a little sleepy to sleep, shake the fan lying on the bed, shake the fan of course to cool, so slowly feel the eyelids are fighting, this time the whole body do not want to move, So hand holding a fan also do not want to fan, but there is no way ah, because the hand once stop shaking fan the whole person and feel special heat, just brewing good nap and was hot woke up, at th
Click to open Hangzhou electric 1159Problem Descriptiona subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence x = The program input was from a text file. Each data set in the file contains the strings representing the given sequences. The sequences is separated by any number of white spaces. The input data is correct. For each set of data the program prints on the standard output the lengt
Click to open Hangzhou Electric 1024Problem Descriptionnow I Think you have got a AC in IGNATIUS.L ' s "Max Sum" problem. To is a brave acmer, we always challenge ourselves to more difficult problems. Now you is faced with a more difficult problem.Given a consecutive number sequence S1, S2, S3, S4... Sx, ... SN(1≤x≤n≤1,000,000, -32768≤sx≤32767). We define a function sum (i, j) = SI+ ... + SJ(1≤i≤j≤n).Now given a integer m (M > 0), your task is to find
Click to open Hangzhou electric 1503Problem DescriptionThe Company "21st Century Fruits" have specialized in creating new sorts of Fruits by transferring genes From one fruit into the genome of another one. Most times this method doesn ' t work, but sometimes, in very rare cases, a new fruit emerges that tastes like a mixture bet Ween both of them.A big topic of discussion inside the "How should the new creations be called?" A mixture between an apple
Click to open Hangzhou Electric 1042problem DescriptionGiven an integer N (0≤n≤10000), your task is to calculate N!Inputone N in one line, process to the end of file.Outputfor each n, output N! In one line.Sample Input123Sample Output126C Code implementation:#include Java Code Implementation:Import java.math.biginteger;import java.util.scanner;class main{public static void Main (string[] args) {Scanner sc=new Scanner (system.in); while (Sc.hasnext ())
Click to open Hangzhou electric 1715The problem Descriptionfibonacci sequence is defined as follows:F (1) =f (2) =1F (n) =f (n-1) +f (n-2) n>=3.Calculates the Fibonacci value of the nth item.Input inputs The first behavior of an integer n, followed by n behavior integer Pi (1The output outputs are n lines, and the corresponding F (Pi) for each behavior.Sample Input512345Sample Output11235Code implementation:Import java.math.biginteger;import java.util
This problem is I learned and check set after the third problem, teach our sister said this is and check set the basic problem, so it is necessary to firmly grasp.Here is my experience of doing this problem, give you some suggestions! Of course, my advice is not the best, but also ask the great God to point out my mistakes, I also good to correct. 1. Overview of topicsThis question is Hangzhou electric 1272,poj 1308 If you write the code, you can try
Click to open Hangzhou Electric 2031Problem description Enter a decimal number n to convert it to the R-binary output.Input data contains multiple test instances, each containing two integer n (32-bit integers) and R (2Output outputs the converted number for each test instance, with one row for each output. If R is greater than 10, then the corresponding number rules refer to 16 binary (for example, 10 is represented by a, and so on).Sample Input7 223
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.