6, Enter a positive integer for the problem description N, output N Value of . among N123N. Algorithm description N It could be big , The range of integers that computers can represent is limited , High precision calculation method is required . Use an array A To represent a large integer A,A0 express A Bits of ,A1 express A Ten , And so on . take A Multiply by an integer K Change to array A Each element of is multiplied by K, Note that the corresponding carry is processed . First will A Set as 1, Then multiply 2, ride 3, When the bus arrives N Time , That's it N Value of . The input format contains a positive integer N,NINCLUDEDEFINEMAX3000INTMAININTAMAX,I,J,NINTC0/ carry INTSMEMSETA,0,SIZEOFASCANF“D“,A01FORI2I0I/ Start with the first non-zero IFAIBREAKFORJIJ0JPRINTF“D“,AJRETURN0.

7, The first 1/12 page The 7th Blue Bridge Cup individual competition and provincial competition ( Software class ) C/C+ university A group Notes to candidates :
After the exam , The contestant downloads the title first , And use the decompression password released by the examination room to decompress the test questions . The examination time is 4 hour . After the deadline , The submitted answer is invalid .
Before the compulsory end of the exam , Players can take the initiative to end the exam ( Authentication required ) , You will not be able to finish the exam Continue submitting or browsing answers . Contestants can browse the answers they have submitted . The browsed answers are allowed to be copied .
On the same subject , Contestants can submit answers multiple times , The last submitted answer shall prevail . Contestants must not write in the submitted code “ full name ” , “ Test number ” , “ School name ” Other identity related information or
Other topics unrelated to the competition .

8,1. Title :
Guess age American mathematician Wiener (N.Wiener) Precocious intelligence ,11 He went to college at the age of . He was in 19351936 He was invited to give lectures at Tsinghua University, China . once , He attended an important meeting , Young faces stand out . So someone asked his age , He replied :“ The cube of my age is a 4 digit . My age 4 Power is a 6 digit . this 10 A number just contains 0 reach 9 this 10 Number , Every one happens to appear 1 second .” Please calculate , How young was he . Via browser , Directly submit his age figures at that time . be careful : Do not submit the answer process , Or other explanatory text . answer :182.
title : Careless calculation Xiaoming is an acute child , When I was in primary school, I often copied the questions written by the teacher on the blackboard wrong . have .

9,2018 Blue Bridge Cup C language b Real topic of group competition 1. title : Change notes x The denomination of the banknote of the planet is only :100 element ,5 element ,2 element ,1 element , common 4 species .
Xiao Ming go x Star Tourism , All he has is 2 Zhang 100 Yuan x Star coin , Too inconvenient , Happened to pass by x The star bank will change the change . Xiao Ming is a little obsessive-compulsive , He insisted on .

10,1 Title Guess age Norbert Wiener N Wiener Precocious intelligence 11 He went to college at the age of He was in 1935 1936 He was invited to give lectures at Tsinghua University, China once
He attended an important meeting Young faces stand out So someone asked his age He replied The cube of my age is a 4 digit .

11,1. title : Full binary tree in general , Binary trees are stored through data structures containing pointers . But for special circumstances , Storage can also be simplified . For example, the case of full binary tree : Except for the leaf node of the last layer , All nodes have complete left and right child nodes . We can store the nodes in the array according to the layer by layer traversal order of the tree . of course , You need to calculate the parent node or two child nodes of a node from its serial number . The target code of a node is the following . Please fill in the missing code in the underlined part ./
return k Parent node of node No .

12,1, Some people are superstitious about numbers , Such as belt “4” Number of , Think and “ die ” Homophonic , I feel unlucky . Although these statements are sheer nonsense , But sometimes we have to cater to the needs of the public . The lottery number of a lottery is 5 digit (10000-99999), It is required that no band should appear in it “4” Your number , Organizer, please calculate it , If any two lottery tickets do not have the same number , How many lottery tickets can be issued at most . Please submit this number ( An integer ), Don't write anything superfluous or descriptive .

13,2016 Blue Bridge Cup c-c+B There is a pile of briquettes in the number of briquettes , Pile into triangular pyramid . specific : First floor 1 individual , The second floor 3 individual ( Arrange in a triangle ), Third floor 6 individual ( Arrange in a triangle ), Fourth floor 10 individual ( Arrange in a triangle ),. If there are 100 layer , How many briquettes are there ? Please fill in the number indicating the total number of briquettes . be careful : What you submit should be an integer , Do not fill in any superfluous content or explanatory text . answer :17.

14,2016 Blue Bridge Cup c-c+B Questions and analysis of provincial competition First question Number of briquettes There is a pile of briquettes , Pile into triangular pyramid . specific : First floor 1 individual , The second floor 3 individual ( Arrange in a triangle ),
Third floor 6 individual ( Arrange in a triangle ), Fourth floor 10 individual ( Arrange in a triangle ), . If there are 10.

15,2013 Blue Bridge Cup C Undergraduate language group B1, Title :
Gauss diary ( Full mark 4 branch ) The great mathematician Gauss has a good habit : Keep a diary anyway . There's something special about his diary , He never indicates the date , Instead, use an integer instead , such as :4210 Later people knew , That integer is the date , It indicates the day after Gauss was born . This may also be a good habit , It reminds its owner all the time : Another day passed , How much time can be wasted ? Gauss was born in :1777 year 4 month 30 day .

Technology
©2019-2020 Toolsou All rights reserved,
C++ of string of compare usage MySQL Basics Commonly used sentence ( Add / delete / modify query )C Language of a Gobang game implementation QT5.9 Use of learning notes QSqlQuery Method of Qt Getting Started tutorial 【 Basic controls 】QCalendarWidget calendar control java Polymorphic array of web Front end signature plug-in _signature_pad Plug in implements electronic signature function centos7 install RabbitMqspringboot use redis Experiment 4 Automated test tools - software test