National Software-microbial proliferation

Source: Internet
Author: User

1.Microbial proliferation

 

Assume there are two kinds of microorganismsXAndY

XEvery second after birth3Split once every minute (doubles the number ),YEvery second after birth2Split once every minute (doubles the number ).

A newXAnd eat it in half a minute.1ItemsYAnd, from then on, every1Eat in minutes1ItemsY.

We now know that there are newX = 10, y = 89, Please60Minutes laterY.

IfX = 10,Y = 90What about it?

The requirement of this question is to write down these two initial conditions,60Minutes laterY.

Are you shocked by the results of the questions? This is not a simple digital game! The real biosphere is equally fragile! Maybe because the one you wiped outYIs eventually causedYThe last straw of the population extinction!

 

Hold back your grief and write the answer in "Answer". Txt", Do not write it here!

Two integers, each1Line.

Reference answer:

0

94371840

 
# Include <iostream> using namespace STD; int main () {int I; int y = 90, x = 10; for (I = 1; I <= 120; I ++) {if (I % 2 = 1) y = Y-X; if (I % 4 = 0) y = y * 2; if (I % 6 = 0) x = x * 2;} cout <Y <Endl ;}

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.