• 24点游戏 程序(三)


    增加了部分去重复的功能,以及后缀转中缀显示。

    部分结果:

    1 1 1 8,(1+1+1)*8
    1 1 1 11,(1+1)*(1+11)
    1 1 1 12,1*(1+1)*12
    1 1 1 13,(1+1)*(13-1)
    1 1 2 6,2*(1+1)*6
    1 1 2 7,(1+2)*(1+7)
    1 1 2 8,1*(1+2)*8
    1 1 2 9,(1+2)*(9-1)
    1 1 2 10,2*(1+1+10)

    。。。

    大概6s取得单一结果,一共1362个解。

    取得全部结果需要14s。其实还是有很多重复。离http://www.24theory.com/theory/的结果还有一定距离。需要更细化的过滤。

    这部分暂时不做了。有空还是想做一个android的24点小游戏。


  • 相关阅读:
    SCRIPT TO GENERATE SQL*LOADER CONTROL FILE
    Setting an Oracle event:The structure of the trace syntax
    Script to Collect RAC Diagnostic Information (racdiag.sql)
    Data Block Cache Header Format Changes (Oracle8 Physical layout)
    Function Based Indexes and Global Temporary Tables
    EVENT: 10231 "skip corrupted blocks on _table_scans_"
    Materialized Views and Dimensions
    Script: Computing Table Size
    DBMS_REPAIR example
    Sql2005+:ssms 的【临时】服务器连接配置文件:
  • 原文地址:https://www.cnblogs.com/marryZhan/p/2497557.html
Copyright © 2020-2023  润新知