Results 1 to 3 of 3

Thread: C ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    To clock or not to clock? iaskata's Avatar
    Join Date: Oct:2005
    Location: Sofia
    Posts: 276

    C ?

    ! , , , .

    n, nxn, . ( !). , . .
    . ,
    i=1 j=1
    i=2 j=1 ; i=1 j=2
    i=3 j=1 ; i=2 j=2 ; i=1 j=3
    .......

    ..

    !
    MB: ASRock B550 Phantom Gaming 4 | CPU: R7 3700X | AIO: Deepcool GAMMAXX L120 | RAM: 2x16GB Adata RGB DDR4 3600 | VGA: GF GTX 1060 3GB | NVME: Kingston A2000 500GB | HDD: Seagate const. 1TB + Toshiba 2TB | Case: DeepCool MACUBE | Monitor: Eizo S2433W | ZK5499

  2. #2
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    . NxN 2*(N-1) ( ).
    :
    1) N-1 i, 1 i (i e [1..N-1])
    2) N-1 n, i+1 n - i (i e [1..N-1])

    T.e. :
    1) for (i = 1; i <= n - 1; i++) for (j = 0; j < i; j++) // a[i-j][1+j]
    2) for (i = 1; i <= n - 1; i++) for (j = 0; j < n - i; j++) // a[n-j][i + 1 + j]
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  3. #3
    To clock or not to clock? iaskata's Avatar
    Join Date: Oct:2005
    Location: Sofia
    Posts: 276
    , !
    .. , 11, 12.... .
    MB: ASRock B550 Phantom Gaming 4 | CPU: R7 3700X | AIO: Deepcool GAMMAXX L120 | RAM: 2x16GB Adata RGB DDR4 3600 | VGA: GF GTX 1060 3GB | NVME: Kingston A2000 500GB | HDD: Seagate const. 1TB + Toshiba 2TB | Case: DeepCool MACUBE | Monitor: Eizo S2433W | ZK5499

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 |