+ Reply to Thread
Results 1 to 1 of 1
  1. [PBINFO] Problema #1004

    #1
    Moderator:
    Programare
    WarGods Cheat Defender
    ~Wolf~'s Avatar
    Member since
    Jan 2017
    Location
    Dark abyss
    Posts
    3,179
    Last username
    GaBiTzU M@riju@n@ |Wolf| WarGods | Wolf
    Mentioned
    39 Post(s)
    Achievements Visitor Messages Given 1 Days Registered 3 Mentions Received 1 Mentions Given 2 Mentions Given 1 Visitor Messages Received 2 Visitor Messages Received 1 Total Posts 3
    Doneaza
    Sustine Comunitatea WarGods!
    Fii unul de-al nostru! Doneaza
    Doneaza in Cont Bancar
    Click aici pentru a face o Donatie

    [PBINFO] Problema #1004

    Link site: You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Link problema: You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    -draguta problema, am mers pe ideea urmatoare: luam un vector unde stocam acei "eureni", primul fiind obligatoriu 1, iar celalti sunt puteri ale lui "e".
    -nr de bancnote reprezinta catul impartirii lui S la un element al vectorului.Pentru a gasi bancnote a carei aparitii este macar 1, impunem conditia ca daca catul este 0 sa nu luam in considerare elementul respectiv al vectorului.
    De exemplu pt e=5, vom avea in vector 1 5 25 125 625, cu S=107.Nu ne intereseaza 125, fiindca niciodata nu vom avea acel tip de bancnota(107/125=0, fals in conditia pe care am impus-o, trecem la 25 care corespunde).
    C++ Code:
    You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
    Last edited by ~Wolf~; 11-01-2021 at 06:10 PM.
    Tutoriale C++: CLICK AICI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Partners
Humble Monthly Bundle
Voucher PC-Garage