subject

Se dă un șir cu n elemente întregi și un număr p. cerinţa să se șteargă din șirul x elementul aflat pe poziția p. date de intrare programul va citi de la tastatură două valori n p, cu semnificația precizată, apoi n numere întregi reprezentând elementele șirului. date de ieşire programul va afișa pe ecran n-1 valori întregi, separate printr-un spațiu, reprezentând elementele șirului după ștergere. restricţii şi precizări 1 ≤ p ≤ n ≤ 1500 valoarea x și elementele șirului vor fi cuprinse între -1.000.000 și 1.000.000 elementele șirului vor avea indici între 1 și n. exemplu date de intrare 5 2 7 3 9 1 6 date de ieșire 7 9 1 6

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
question
Computers and Technology, 24.06.2019 08:00
Arah has entered data about football players from team a and team b in a worksheet. she enters names of players from team a with details about each player in different columns of the worksheet. similarly, she enters details of all the players from team b. which option will her view the data for team a and team b in two separate sections after printing? a. page break view b. freeze pane view c. split screen view d. full screen view e. zoom out view
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Intellectual property rights are exclusive rights that protect both the created and the creation. ipr offers exclusively what benefits to the person or people covered by it
Answers: 3
question
Computers and Technology, 24.06.2019 17:40
File i/o activity objective: the objective of this activity is to practice working with text files in c#. for this activity, you may do all code in the main class. instructions: create an app that will read integers from an input file name numbers.txt that will consist of one integer per record. example: 4 8 25 101 determine which numbers are even and which are odd. write the even numbers to a file named even.txt and the odd numbers to a file named odd.txt.
Answers: 3
You know the right answer?
Se dă un șir cu n elemente întregi și un număr p. cerinţa să se șteargă din șirul x elementul aflat...
Questions
question
Mathematics, 24.02.2021 19:00
question
Mathematics, 24.02.2021 19:00
question
Mathematics, 24.02.2021 19:00
question
Mathematics, 24.02.2021 19:00
question
Mathematics, 24.02.2021 19:00
Questions on the website: 13722362