Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
What is going on, guys?
And welcome to another video in our amazing program, of course, and as always, my name is what this
is Alphatech And we are talking about what are we talking about?
We are talking about a program that receives an integer and they think the jury's called icks.
OK, nothing complicated, though, but so far we know how to receive an integer.
But now what we have to do is to make this program calculate and print what you print, calculate and
print X in a power of two, X in a power of four, X in a power of six and X in the power of eight.
OK, so we simply have to get some number.
For example, let's say three, OK, and then we know that three in the power of two is just nine and
three in the power of four will be probably nine multiplied by nine or three, multiplied by three,
multiplied by three and once again multiplied by three.
Which give us which should give us about eighty one, if I'm not mistaken.
So that's basically what we have to do, this exercise just to print these results to the screen.
But there is a catch, a little catch in these six are science.
And basically what it is, it's simply that the calculation should be done efficiently.
So we know that probably if we apply some mathematical operations, some good operations, maybe we
can save some computation time and make it much more efficient.
Then let's say we have here two approaches, that one approach will be much slower while the other will
be much more optimized.
So take a couple of moments to think about it.
Probably come with also both of the solutions, the trivial solution and also the optimized solution,
which will or should make these program, these calculation more efficient.
So give it a try and I'll see in the Solutions video.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.