Results 1 to 25 of 33

Thread: C++

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Nov:2014
    Location:
    Posts: 39

    Smile C++

    C++, . :
    n , 0 1. , , 1.
    ,

  2. #2
    Exhumator's Avatar
    Join Date: Jan:2005
    Location: Sofia
    Posts: 14,687
    , !
    | Aorus X570 Master | Ryzen 9 5900X | Hellhound 7900XT | G.SKILL 32GB DDR4 3800 CL16 | Enermax Galaxy 1000W | SSD Corsair MP510 960GB & WD-RE3 2 x 1TB RAID0 | Pioneer BDR-209EBK | Creative X-Fi Titanium Fatal1ty & GigaWorks S750 | ViewSonic VX3276-2K-MHD |

  3. #3
    Deleted User 4eRNoBiL's Avatar
    Join Date: Oct:2005
    Location:
    Posts: 739
    . .

    , ... .
    Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19

  4. #4
    Registered User
    Join Date: Jun:2012
    Location: /
    Posts: 13,663
    int n;
    cin >> n;
    int counter = 0;
    int * arrIndexes = new int[n];
    int * arr = new int[n];
    for(int i = 0; i < n; i++)
    {
    cin >> arr[i];
    if(arr[i] != 1)
    {
    arrIndexes[counter++] = i;
    }
    }

    ,

  5. #5
    Banned
    Join Date: Apr:2014
    Location: Bulgaria
    Posts: 54
    Quote Originally Posted by 4eRNoBiL View Post
    . .

    , ... .
    20 1000 20

  6. #6
    Mire-x
    Join Date: Apr:2005
    Location: Sofia
    Posts: 763
    Quote Originally Posted by Dancho92 View Post
    20 1000 20
    , . , , , , " 1 ".
    (10b) || !(10b)

  7. #7
    Banned
    Join Date: Apr:2014
    Location: Bulgaria
    Posts: 54
    Quote Originally Posted by Tarvin View Post
    , . , , , , " 1 ".
    ??? / !

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |