搜索资源列表
shiziguibing
- 石子归并问题:在一个圆形操场的四周摆放着N堆石子(N<= 100),现要将石子有次序地合并成一堆.规定每次只能选取相邻的两堆合并成新的一堆,并将新的一堆的石子数,记为该次合并的得分.编一程序,由文件读入堆栈数N及每堆栈的石子数(<=20)。 (1)选择一种合并石子的方案,使用权得做N-1次合并,得分的总和最小; (2)选择一种合并石子的方案,使用权得做N-1次合并,得分的总和最大。
ChessViewer
- 国际象棋读谱程序,可以查看 PGN 文件 合并多个 PGN 文件-Chess Player
FileCutter
- 一个文件分割器,可以实现文件分割功能和文件合并功能-A file splitter, file split function and file merge function can be achieved
FileCutter
- 简单的文件分割器,使用流处理分割各种文件,还支持文件的合并。-Simple file splitter, split various file using stream processing, also support the merger of the files.
Chinese_Poker
- java斗地主控制台游戏,将多个源文件合并为一个文件,并且去掉了包声明。程序包含大量的循环和选择语句是训练流程控制和基本功的好代码-Landlords java console game, a plurality of source files into a single file, and removed the package declaration. Program contains a number of cycles and the selection statement is the
Matlab2048
- 通过按键(W,A,S,D或方向键)控制小块的移动方向,当有两个小块相同时,把两者合并,产生一个新块(其值90%为2,10%为4)。并给予一定的分数,记录在数据文件中,显示在界面上。当最大块的值达到2048时,您将获得胜利,胜利后您可以选择继续游戏(当最大块的值为4096时,您将获得连胜,依次类推),或者退出游戏。(By controlling buttons (W, A, S, D or direction key), we control the moving direction of sma