0493 - Constr: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 April 2023

23 March 2023

  • curprev 13:3913:39, 23 March 2023Csatari Mălina talk contribs 2,101 bytes +2,101 Pagină nouă: Sursa: [https://www.pbinfo.ro/probleme/493/constr 0493 - Constr] ---- == Cerinţa == Se dă un vector '''x''' cu '''n''' elemente, numere naturale. Să se construiască un alt vector, '''y''', cu proprietatea că '''y[i]''' este egal cu restul împărțirii lui '''x[i]''' la suma cifrelor lui '''x[i]'''. == Date de intrare == Programul citește de la tastatură numărul '''n''', iar apoi '''n''' numere naturale, reprezentând elementele vectorului. == Date de ieșire == Dac...