Algorithm program(new version)

  • View
    67

  • Download
    0

Embed Size (px)

Text of Algorithm program(new version)

  • ;

  • , . ;

    *

  • :

    : ( ) . tetris

  • ( ) ( )

  • -, .

    *

  • : 2. 3 4 . , . . . . . 10 . . . . 20 . 2 . . 3 .

    : 9 ; 7 8; , 4 ; 1 2, ; 11 :

    1 1 :

    *

  • .

    :

    *

  • 1 100 100 100 100

    2 100 90 100 90 100 90 100 90 1-8

    3 100 90 100 90 100 90 100 90

    2: 100

  • 3

    2 : = 30= 15.30 * 15= 450 2= 450 2

    EmvadonMake a readwordMake b readwordMake sum :a + :bPrint :sumend

  • .

    *

  • void DisplayBlock(SBlock Block) { if (Block.nY < 1) return; RECT rcBlock = g_rcBlock; rcBlock.left = Block.nColor * BLOCK_DIAMETER; rcBlock.right = Block.nColor * BLOCK_DIAMETER + BLOCK_DIAMETER; g_pDisplay->Blt( (DWORD)Block.nX * BLOCK_DIAMETER - 2 , (DWORD)Block.nY * BLOCK_DIAMETER , g_pSecondarySurface, &rcBlock );} 1.2: ( ).

    *

  • *

  • Visual BASICPASCALFORTRANCC++LogoJavaADAPROLOG

    :

    : ; ;

  • 000000000000000100000010000001100000000000100000 . 0 1

    athroismaMake a readwordMake b readwordMake sum :a + :bPrint :sumend

    *

  • - - 0 1 ( )

    *

  • 2 :

    .: .

    . , .

  • -

    3

    3

  • public class MapsActivity extends FragmentActivity implements OnMapReadyCallback { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent intent = getIntent(); setContentView(R.layout.activity_maps); SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager() .findFragmentById(R.id.map); mapFragment.getMapAsync(this); } public publik

    *

    *

    *

    *

    *

    *

    *

    *

    *