Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

🤖《腾讯极客挑战赛第四期:鹅罗斯方块》优胜程序源代码

Notifications You must be signed in to change notification settings

Konano/geekTencent-4-Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

腾讯极客挑战赛第四期:鹅罗斯方块

写得很 OI 风格的一个算法实现。

参赛成绩为外网赛道第一,分数为 1413876。

具体代码见 tetris.cppmulti.py

要是跑太慢的话可以增加 multi.py 中的线程数量,或者减小 tetris.cpp 中的 MAXLAYERPQSIZEMAXBUCKETPQSIZE 这两个变量。

复盘

Usage

$ g++ tetris.cpp -o tetris -O3
$ mkdir result backup
$ python3 multi.py
$ # wait for a long time....
$ python3 check.py 10000
$ python3 choose.py 10000

About

🤖《腾讯极客挑战赛第四期:鹅罗斯方块》优胜程序源代码

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published