Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - dj
Search - dj - List
速算24 要求: a. 一副牌54张牌,黑桃(SA,SK,SQ,SJ,S10,??,S2),红桃(HA,HK,HQ,HJ,H10,??,H2),方块(DA,DK,DQ,DJ,D10,??,D2),草花(CA,CK,CQ,CJ,C10,??,C2)以及大鬼Q1和小鬼Q2。其中,A,K,Q,J及Q1,Q2的点值分别为:1,13,12,11,1,1。其余点值就是牌值。 b. 由计算机随机出四张牌。 c. 用户输入能算出24的表达式(只能用加、减、乘、除及括号组成的四则运算)。 d. 计算机检验用户给出的表达式正确与否(包括是否用计算机所给出的四张牌),并根据该表达式计算出值,判断用户的方法是否正确。 e. 表达式求值算法参考有关图书。- Quick quick 24 Requirements: A. a deck of 54 cards, the ace of Spades (SA, SK, SQ, SJ, S10,??, S2), red (HA, HK, HQ, HJ, H10,??, H2), (DA, DK, DQ box, DJ, D10,??, D2), flower (CA, CK, CQ, CJ, C10,??, C2) and Q1 and Q2 big ghost kid. Among them, A, K, Q, J and Q1, the Q2 values are: 1, 13, 12, 11, 1, 1. The other point is the brand value. B. by the computer random out four cards. The C. expression of user input can calculate 24 (four operations by means of addition, subtraction, multiplication, addition and braces composed only of). Expression of the D. computer test given by the user (including whether correct or not with the four card computer given), and according to the uated expression value, method of judging whether user s right. E. expression uation algorithm reference books.
Date : 2025-12-21 Size : 3kb User : 王学
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.