This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
import math | |
import os | |
import struct | |
import time | |
from itertools import repeat, accumulate | |
from bisect import bisect | |
from typing import Set, Sequence | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hackergame 2024 关灯 前三小题代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GeekGame 2024 神秘计算器 - 素数判断函数 解题代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
FM2_SMB1_HEADER_LINES = 12 # SMB1 FM2文件的头部行数,可手动修改 | |
BUTTONS = ['A', 'B', 'S', 'T', 'U', 'D', 'L', 'R'] | |
def input_to_int(input_str: str) -> int: | |
''' | |
Converts a string of 8 buttons back to a byte (integer). | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GeekGame 2024 从零开始学Python - 科学家获得的实验结果 解题代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GeekGame 2024 验证码 - Expert 解题代码 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Geekgame 2024 熙熙攘攘我们的天才吧 - Magic Keyboard 脚本 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logRe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ajaxhome='';//主页的url | |
var ajaxcontent = 'content';//需要ajax动态加载的区域id | |
var ajaxsearch_class = 'search-form';//ajax搜索表单的class | |
var ajaxignore_string = new String('#, /wp-, .pdf, .zip, .rar, /goto'); | |
var ajaxignore = ajaxignore_string.split(', '); | |
var ajaxloading_code = 'loading';//加载过程中的提示内容 | |
var ajaxloading_error_code = 'error';//加载失败时的提示内容 | |
var ajaxreloadDocumentReady = false; | |
var ajaxtrack_analytics = false | |
var ajaxscroll_top = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PKU GeekGame 2nd 扫雷 II 解题代码 |
NewerOlder