Editing 0184 - Interval 1

Revision as of 12:32, 13 December 2023 by Mesarosdenisa (talk | contribs) (Pagină nouă: == Cerinta == Se dă un şir de n numere întregi şi un număr k. Să se determine intervalul [a,b] de lungime minimă care conţine cel puţin k elemente din sir. == Date de intrare == Fişierul de intrare interval1.txt conţine pe prima linie numerele n şi k, iar pe următoarele linii n numere întregi separate prin spaţii, reprezentând elementele şirului. == Date de iesire == Fişierul de ieşire interval1.txt va conţine pe prima linie două numere a şi b, sepa...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning: You are editing an out-of-date revision of this page. If you publish it, any changes made since this revision will be lost.
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Please note that all contributions to Bitnami MediaWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Bitnami MediaWiki:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)