1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ilia_Sergeevich [38]
3 years ago
9

Se citește un număr natural nenul N. Se umple, pe linii, partea de sub diagonală, inclusiv aceasta, a unui tabel pătratic de dim

ensiune L cu secvențe consecutive de numere : 1, 2, … , N. Astfel, pentru N=5 și L=7 se obține triunghiul de valori: 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 Cerinţa: Fiind dați N și L precum și un indice de coloană C să se calculeze suma valorilor din triunghi aflate pe coloana C. Date de intrare: Fișierul periodic.in cu următoarea structură: pe prima și singura linie valorile N, L, și C cu semnificația din enunț. Date de ieşire: Fișierul periodic.out cu următoarea structură: pe prima și singura linie valoarea S cu semnificația din enunț. Restricții și precizări  1<=N<=1000, 1<=L<=10.000.000, 1<=C<=L. Exemplu: periodic.in periodic.out Explicatii 5 7 2 18 Pe coloana 2 se afla valorile: 3, 5, 3, 2, 2, 3 cu suma 18. Timp maxim de execuție: 1 secundă/test. Memorie totală disponibilă 4 MB, din care 2 MB pentru stivă Dimensiunea maximă a sursei: 5 KB
Computers and Technology
1 answer:
frozen [14]3 years ago
6 0
<span>The periodic.out file with the following structure: on the first and the only line the S value with the meaning in the enunt. 
<span>Restrictions and specifications  1 <= N <= 1000, 1 <= L <= 10.000.000, 1 <= C <= L.</span></span>
You might be interested in
Automatic weights are assigned based on which of the following?
svetlana [45]

Answer:

Im 90% sure it's D

Explanation:

3 0
4 years ago
I need help 40 points and brainless if you answer
Reil [10]
The answer is c
But I’m not sure
8 0
3 years ago
Read 2 more answers
I have been trying to use brainly recently but i cant because everytime i watch an ad to get an answer, its an interactive ad, s
Troyanec [42]

Answer:

remove ads

Explanation:

by buying a no ad pack

5 0
2 years ago
Which option will Joan use to get a glimpse of how her presentation will look when she presents it to her audience? Joan will us
Murrr4er [49]

Since Joan wants to see what her presentation would look like in the eyes of her audience, it might be best for her to use the Slideshow view that is available at the bottom right side of her desktop view.

This option is a full-screen form of her Normal view in Microsoft PowerPoint. The Slideshow view is represented by the projector screen symbol next to the zoom in and out bar.

7 0
3 years ago
Read 2 more answers
Why can I not answer questions on Brainly? Do i have to upgrade my plan?
dimulka [17.4K]

Answer:

may any technical issue which creates this.. upgrade is not necessarily

4 0
3 years ago
Read 2 more answers
Other questions:
  • Your uncle spent most of his teen years in a hospital undergoing treatment for a severe physical illness. As an adult, he is rat
    10·1 answer
  • Which of the following general classes of computers designed for medical, engineering, or animation and graphics design uses are
    12·1 answer
  • IblMessage.txt=welcome to fiji.what is the error in the coding and what type of error is it?(explain)​
    5·1 answer
  • Which statement is most likely to be true about a computer network?
    11·2 answers
  • In excel what happens when rename a sheet from sheet1 to inventory​
    7·1 answer
  • Write a function square_evens(values) that takes a list of integers called values, and that modifies the list so that all of its
    9·1 answer
  • Divide 111001 by 1101​
    7·1 answer
  • Follow me on r*blox, my user is SamanthaCrystall. Also my goal is 100 followers. Have a wonderful day&lt;3​
    12·1 answer
  • Write a function named parts that will take in as parameters the dimensions of the box (length, width, and height) and the radiu
    12·1 answer
  • ​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!