subject

Se citeste n numar natural, determinati suma cifrelor sale. 2. Se citeste n numar natural, determinati oglinditul acestuia. Exemplu daca n=123, oglinditul=321.

3. Se citeste n numar natural, determinati daca este palindrom sau nu. Un numar este palindrom daca este egal cu oglinditul sau.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
question
Computers and Technology, 24.06.2019 21:40
Which of these is not a type of socket? aga (alternating grid array) pga (pin grid array) spga (staggered pin grid array) lga (land grid array)
Answers: 1
question
Computers and Technology, 25.06.2019 18:50
Asystem that combines arbitrary symbols to produce an infinite number of meaningful statements is a definition of:
Answers: 1
question
Computers and Technology, 25.06.2019 21:10
In this problem, we want to determine a set of states with the smallest total population that achieves an electoral college win. specifically, for each state i, for i = 1, 2, . . , n, let pi be its population and vi its electoral votes. all electoral votes of a state go a single candidate, and so the (overall) winning candidate is the one who receives at least v = b( p i vi)/2c + 1 electoral votes. our goal is to find the set of states s for which p i∈s pi is as small as possible subject to the constraint that p i∈s vi ≥ v . design a dynamic programming algorithm for this problem; prove its correctness; and analyze its time complexity.
Answers: 3
You know the right answer?
Se citeste n numar natural, determinati suma cifrelor sale. 2. Se citeste n numar natural, determi...
Questions
question
Biology, 14.05.2021 05:30
question
Mathematics, 14.05.2021 05:30
question
Mathematics, 14.05.2021 05:30
question
Mathematics, 14.05.2021 05:30
Questions on the website: 13722367