首页 > 其他分享 >DASCTF X CBCTF 2023 Misc Justlisten WP

DASCTF X CBCTF 2023 Misc Justlisten WP

时间:2023-10-22 18:12:04浏览次数:45  
标签:10987 Misc Justlisten 8311 2023 7405 3726 9211 10103

DASCTF X CBCTF 2023 Misc Justlisten WP

又是一道很抽象的misc题
首先附件给了一个汉信码,扫码得到:
image.png

提示我们使用oursecret:
password为0urS3cret,得到
image.png

haha.txt里有一串疑似编码表的东西

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_}{-?!

然后附件里还有一串音频:
image.png

看起来频率分布比较奇怪
先用python统计出音频的总样本数:

from scipy.io import wavfile

# 读取.wav文件
sample_rate, audio_data = wavfile.read(r"D:\download\justlisten\justlisten\嘘.wav")
total_samples = len(audio_data)

# 输出音频的总样本数
print(f"总样本数: {total_samples}")

该音频共37.8秒
image.png

于是每0.1秒就有4410个样本
我们对音频进行处理:

from scipy.io import wavfile

# 读取.wav文件
sample_rate, audio_data = wavfile.read(r"D:\download\justlisten\justlisten\嘘.wav")

# 每4410个样本为一段
segment_length = 4410

# 获取音频数据的长度
audio_length = len(audio_data)

# 初始化列表来存储统计结果
first_values_statistics = []
second_values_statistics = []

# 分段、处理和存储值的统计结果
for i in range(1, audio_length, segment_length):
    segment = audio_data[i:i + segment_length]
    first_values=segment[0]
    second_values = segment[1]  
    first_values_statistics.append(first_values)
    second_values_statistics.append(second_values)
print(first_values_statistics)
print(second_values_statistics)

得到:

[3726, 7859, 3726, 3726, 3726, 5114, 3726, 7859, 3726, 6949, 3726, 3726, 3726, 5114, 3726, 7859, 4190, 3726, 3726, 3726, 3726, 5114, 4190, 3726, 3726, 3726, 3726, 6949, 4190, 3726, 3726, 5114, 3726, 6949, 4190, 3726, 3726, 3726, 4652, 4652, 3726, 6949, 3726, 5114, 4190, 3726, 3726, 6034, 4190, 7859, 4652, 4652, 3726, 5114, 4652, 3726, 5114, 5575, 5114, 4652, 4652, 7405, 5575, 5575, 4652, 6492, 4652, 7405, 5575, 6949, 5114, 6034, 4652, 6949, 5575, 7405, 5114, 6492, 4652, 7859, 4652, 6949, 5575, 4652, 5575, 4652, 5575, 7405, 5575, 4652, 5575, 6492, 5114, 4190, 5575, 6949, 4652, 7405, 4652, 6949, 5114, 5575, 5575, 4652, 5575, 7405, 5114, 6949, 5114, 6492, 4652, 7859, 5575, 4652, 5114, 5114, 5575, 6492, 3726, 6949, 4652, 3726, 3726, 7405, 3726, 6492, 4652, 5575, 3726, 6492, 4190, 7405, 4190, 4190, 4190, 3726, 3726, 4652, 4190, 5114, 4190, 7405, 3726, 5575, 3726, 4190, 3726, 3726, 3726, 7859, 4652, 3726, 4190, 5575, 3726, 5114, 3726, 7405, 4190, 4190, 4190, 3726, 3726, 3726, 4190, 7405, 4190, 5114, 4652, 4190, 3726, 3726, 4190, 5575, 4190, 4190, 4652, 4652, 3726, 6034, 4190, 5114, 3726, 4652, 4190, 3726, 4652, 3726, 3726, 4190, 3726, 3726, 3726, 6492, 4652, 4190, 4190, 7405, 4190, 5575, 3726, 7405, 5114, 6949, 5114, 5114, 5114, 6492, 4652, 7405, 4190, 5114, 4190, 3726, 3726, 5114, 3726, 4190, 3726, 7859, 4652, 4190, 3726, 7405, 4652, 3726, 4190, 7405, 3726, 5575, 3726, 7405, 3726, 6034, 4190, 4190, 3726, 6949, 3726, 3726, 4652, 4652, 4190, 5114, 4190, 3726, 4652, 4190, 3726, 4190, 3726, 7859, 4190, 3726, 3726, 5114, 4652, 4190, 4190, 4190, 3726, 5575, 4190, 7405, 4190, 3726, 3726, 3726, 3726, 6034, 4190, 5114, 4190, 3726, 3726, 3726, 4652, 4652, 4190, 6034, 4190, 5575, 3726, 6034, 4190, 5575, 4190, 6034, 3726, 3726, 3726, 6034, 4190, 5575, 4652, 7859, 4652, 6492, 5575, 5575, 4652, 7405, 5575, 6034, 5114, 4190, 6492, 5575, 5575, 7405, 3726, 6949, 6034, 4652, 4190, 7405, 4190, 7859, 4190, 4190, 3726, 7405, 4190, 5114, 3726, 6492, 6492, 4652, 4190, 7859, 6492, 4190, 6492, 4652, 4652, 7405, 4190, 5575, 4190, 5114, 4652, 4190, 3726, 5575, 4652, 5575, 6492, 4652, 3726, 7405, 4190, 5114, 3726, 6034, 4190, 5575, 4190, 6949, 4190, 4652, 3726, 3726, 4190, 7859, 6034, 4652, 4190, 5575, 4190, 5114, 6492, 6949, 6492, 6949, 6492, 6949, 6492, 5114]
[7405, 15259, 7405, 7405, 7405, 10103, 7405, 15259, 7405, 13583, 7405, 7405, 7405, 10103, 7405, 15259, 8311, 7405, 7405, 7405, 7405, 10103, 8311, 7405, 7405, 7405, 7405, 13583, 8311, 7405, 7405, 10103, 7405, 13583, 8311, 7405, 7405, 7405, 9211, 9211, 7405, 13583, 7405, 10103, 8311, 7405, 7405, 11862, 8311, 15259, 9211, 9211, 7405, 10103, 9211, 7405, 10103, 10987, 10103, 9211, 9211, 14427, 10987, 10987, 9211, 12728, 9211, 14427, 10987, 13583, 10103, 11862, 9211, 13583, 10987, 14427, 10103, 12728, 9211, 15259, 9211, 13583, 10987, 9211, 10987, 9211, 10987, 14427, 10987, 9211, 10987, 12728, 10103, 8311, 10987, 13583, 9211, 14427, 9211, 13583, 10103, 10987, 10987, 9211, 10987, 14427, 10103, 13583, 10103, 12728, 9211, 15259, 10987, 9211, 10103, 10103, 10987, 12728, 7405, 13583, 9211, 7405, 7405, 14427, 7405, 12728, 9211, 10987, 7405, 12728, 8311, 14427, 8311, 8311, 8311, 7405, 7405, 9211, 8311, 10103, 8311, 14427, 7405, 10987, 7405, 8311, 7405, 7405, 7405, 15259, 9211, 7405, 8311, 10987, 7405, 10103, 7405, 14427, 8311, 8311, 8311, 7405, 7405, 7405, 8311, 14427, 8311, 10103, 9211, 8311, 7405, 7405, 8311, 10987, 8311, 8311, 9211, 9211, 7405, 11862, 8311, 10103, 7405, 9211, 8311, 7405, 9211, 7405, 7405, 8311, 7405, 7405, 7405, 12728, 9211, 8311, 8311, 14427, 8311, 10987, 7405, 14427, 10103, 13583, 10103, 10103, 10103, 12728, 9211, 14427, 8311, 10103, 8311, 7405, 7405, 10103, 7405, 8311, 7405, 15259, 9211, 8311, 7405, 14427, 9211, 7405, 8311, 14427, 7405, 10987, 7405, 14427, 7405, 11862, 8311, 8311, 7405, 13583, 7405, 7405, 9211, 9211, 8311, 10103, 8311, 7405, 9211, 8311, 7405, 8311, 7405, 15259, 8311, 7405, 7405, 10103, 9211, 8311, 8311, 8311, 7405, 10987, 8311, 14427, 8311, 7405, 7405, 7405, 7405, 11862, 8311, 10103, 8311, 7405, 7405, 7405, 9211, 9211, 8311, 11862, 8311, 10987, 7405, 11862, 8311, 10987, 8311, 11862, 7405, 7405, 7405, 11862, 8311, 10987, 9211, 15259, 9211, 12728, 10987, 10987, 9211, 14427, 10987, 11862, 10103, 8311, 12728, 10987, 10987, 14427, 7405, 13583, 11862, 9211, 8311, 14427, 8311, 15259, 8311, 8311, 7405, 14427, 8311, 10103, 7405, 12728, 12728, 9211, 8311, 15259, 12728, 8311, 12728, 9211, 9211, 14427, 8311, 10987, 8311, 10103, 9211, 8311, 7405, 10987, 9211, 10987, 12728, 9211, 7405, 14427, 8311, 10103, 7405, 11862, 8311, 10987, 8311, 13583, 8311, 9211, 7405, 7405, 8311, 15259, 11862, 9211, 8311, 10987, 8311, 10103, 12728, 13583, 12728, 13583, 12728, 13583, 12728, 10103]

发现每个列表中都只有10种不同的数值
我们对第二个列表进行分析(第一个也行):

得到所有值从小到大排列的列表:

sorted_values = [7405, 8311, 9211, 10103, 10987, 11862, 12728, 13583, 14427, 15259]

然后按顺序将第二个列表中对应的依次替换为0~9:

sorted_values = [7405, 8311, 9211, 10103, 10987, 11862, 12728, 13583, 14427, 15259]
data = [7405, 15259, 7405, 7405, 7405, 10103, 7405, 15259, 7405, 13583, 7405, 7405, 7405, 10103, 7405, 15259, 8311,
        7405, 7405, 7405, 7405, 10103, 8311, 7405, 7405, 7405, 7405, 13583, 8311, 7405, 7405, 10103, 7405, 13583, 8311,
        7405, 7405, 7405, 9211, 9211, 7405, 13583, 7405, 10103, 8311, 7405, 7405, 11862, 8311, 15259, 9211, 9211, 7405,
        10103, 9211, 7405, 10103, 10987, 10103, 9211, 9211, 14427, 10987, 10987, 9211, 12728, 9211, 14427, 10987, 13583,
        10103, 11862, 9211, 13583, 10987, 14427, 10103, 12728, 9211, 15259, 9211, 13583, 10987, 9211, 10987, 9211,
        10987, 14427, 10987, 9211, 10987, 12728, 10103, 8311, 10987, 13583, 9211, 14427, 9211, 13583, 10103, 10987,
        10987, 9211, 10987, 14427, 10103, 13583, 10103, 12728, 9211, 15259, 10987, 9211, 10103, 10103, 10987, 12728,
        7405, 13583, 9211, 7405, 7405, 14427, 7405, 12728, 9211, 10987, 7405, 12728, 8311, 14427, 8311, 8311, 8311,
        7405, 7405, 9211, 8311, 10103, 8311, 14427, 7405, 10987, 7405, 8311, 7405, 7405, 7405, 15259, 9211, 7405, 8311,
        10987, 7405, 10103, 7405, 14427, 8311, 8311, 8311, 7405, 7405, 7405, 8311, 14427, 8311, 10103, 9211, 8311, 7405,
        7405, 8311, 10987, 8311, 8311, 9211, 9211, 7405, 11862, 8311, 10103, 7405, 9211, 8311, 7405, 9211, 7405, 7405,
        8311, 7405, 7405, 7405, 12728, 9211, 8311, 8311, 14427, 8311, 10987, 7405, 14427, 10103, 13583, 10103, 10103,
        10103, 12728, 9211, 14427, 8311, 10103, 8311, 7405, 7405, 10103, 7405, 8311, 7405, 15259, 9211, 8311, 7405,
        14427, 9211, 7405, 8311, 14427, 7405, 10987, 7405, 14427, 7405, 11862, 8311, 8311, 7405, 13583, 7405, 7405,
        9211, 9211, 8311, 10103, 8311, 7405, 9211, 8311, 7405, 8311, 7405, 15259, 8311, 7405, 7405, 10103, 9211, 8311,
        8311, 8311, 7405, 10987, 8311, 14427, 8311, 7405, 7405, 7405, 7405, 11862, 8311, 10103, 8311, 7405, 7405, 7405,
        9211, 9211, 8311, 11862, 8311, 10987, 7405, 11862, 8311, 10987, 8311, 11862, 7405, 7405, 7405, 11862, 8311,
        10987, 9211, 15259, 9211, 12728, 10987, 10987, 9211, 14427, 10987, 11862, 10103, 8311, 12728, 10987, 10987,
        14427, 7405, 13583, 11862, 9211, 8311, 14427, 8311, 15259, 8311, 8311, 7405, 14427, 8311, 10103, 7405, 12728,
        12728, 9211, 8311, 15259, 12728, 8311, 12728, 9211, 9211, 14427, 8311, 10987, 8311, 10103, 9211, 8311, 7405,
        10987, 9211, 10987, 12728, 9211, 7405, 14427, 8311, 10103, 7405, 11862, 8311, 10987, 8311, 13583, 8311, 9211,
        7405, 7405, 8311, 15259, 11862, 9211, 8311, 10987, 8311, 10103, 12728, 13583, 12728, 13583, 12728, 13583, 12728,
        10103]
new_data = []
for i in data:
    if i == sorted_values[0]:
        new_data.append(0)
    if i == sorted_values[1]:
        new_data.append(1)
    if i == sorted_values[2]:
        new_data.append(2)
    if i == sorted_values[3]:
        new_data.append(3)
    if i == sorted_values[4]:
        new_data.append(4)
    if i == sorted_values[5]:
        new_data.append(5)
    if i == sorted_values[6]:
        new_data.append(6)
    if i == sorted_values[7]:
        new_data.append(7)
    if i == sorted_values[8]:
        new_data.append(8)
    if i == sorted_values[9]:
        new_data.append(9)
for i in new_data:
    print(i, end='')

得到一个字符串:

090003090700030910000310000710030710002207031005192203203432284426284735274836292742424842463147282734424837362942334607200806240618111002131804010009201403081110001813210014112205130210200100062118140837333628131003010921082018040805110700221310210109100321110418100005131000221514051415000514292644284531644807521819110813066219616228141321042462081305141712001952141367676763

然后将它们两两分组,转化为数字:

str = "090003090700030910000310000710030710002207031005192203203432284426284735274836292742424842463147282734424837362942334607200806240618111002131804010009201403081110001813210014112205130210200100062118140837333628131003010921082018040805110700221310210109100321110418100005131000221514051415000514292644284531644807521819110813066219616228141321042462081305141712001952141367676763"

# 将每两个字符转换为十进制数
decimal_values = [int(str[i:i + 2], 10) for i in range(0, len(str), 2)]

# 输出转换后的十进制数
for value in decimal_values:
    print(value, end=',')

得到:

9,0,3,9,7,0,3,9,10,0,3,10,0,7,10,3,7,10,0,22,7,3,10,5,19,22,3,20,34,32,28,44,26,28,47,35,27,48,36,29,27,42,42,48,42,46,31,47,28,27,34,42,48,37,36,29,42,33,46,7,20,8,6,24,6,18,11,10,2,13,18,4,1,0,9,20,14,3,8,11,10,0,18,13,21,0,14,11,22,5,13,2,10,20,1,0,6,21,18,14,8,37,33,36,28,13,10,3,1,9,21,8,20,18,4,8,5,11,7,0,22,13,10,21,1,9,10,3,21,11,4,18,10,0,5,13,10,0,22,15,14,5,14,15,0,5,14,29,26,44,28,45,31,64,48,7,52,18,19,11,8,13,6,62,19,61,62,28,14,13,21,4,24,62,8,13,5,14,17,12,0,19,52,14,13,67,67,67,63

将上面的与abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_}{-?!这个一一对应

num_list = [9,0,3,9,7,0,3,9,10,0,3,10,0,7,10,3,7,10,0,22,7,3,10,5,19,22,3,20,34,32,28,44,26,28,47,35,27,48,36,29,27,42,42,48,42,46,31,47,28,27,34,42,48,37,36,29,42,33,46,7,20,8,6,24,6,18,11,10,2,13,18,4,1,0,9,20,14,3,8,11,10,0,18,13,21,0,14,11,22,5,13,2,10,20,1,0,6,21,18,14,8,37,33,36,28,13,10,3,1,9,21,8,20,18,4,8,5,11,7,0,22,13,10,21,1,9,10,3,21,11,4,18,10,0,5,13,10,0,22,15,14,5,14,15,0,5,14,29,26,44,28,45,31,64,48,7,52,18,19,11,8,13,6,62,19,61,62,28,14,13,21,4,24,62,8,13,5,14,17,12,0,19,52,14,13,67,67,67,63]
print()
character_table = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_}{-?!"

# 将十进制数映射到字符表
result = [character_table[value] for value in num_list]

# 输出转换后的字符
for char in result:
    print(char, end='')

得到:

jadjhadjkadkahkdhkawhdkftwduIGCSACVJBWKDBQQWQUFVCBIQWLKDQHUhuigygslkcnsebajuodilkasnvaolwfnckubagvsoiLHKCnkdbjviuseiflhawnkvbjkdvleskafnkawpofopafoDASCTF{Wh1stling_t0_Convey_informat1on!!!}

flag为:DASCTF{Wh1stling_t0_Convey_informat1on!!!}

  • 总结:也是非常离谱的一道题了

附完整exp:

from scipy.io import wavfile

# 读取.wav文件
sample_rate, audio_data = wavfile.read(r"D:\download\justlisten\justlisten\嘘.wav")

# 每4410个样本为一段
segment_length = 4410

# 获取音频数据的长度
audio_length = len(audio_data)

# 初始化一个列表来存储第二个值的统计结果
first_values_statistics = []
second_values_statistics = []

# 分段、处理和存储第二个值的统计结果
for i in range(1, audio_length, segment_length):
    segment = audio_data[i:i + segment_length]
    first_values=segment[0]
    second_values = segment[1]  # 获取第二个值
    first_values_statistics.append(first_values)
    second_values_statistics.append(second_values)
print(first_values_statistics)
print(second_values_statistics)
# 遍历并按照音频中的顺序输出第二个值的统计结果
for idx, stats in enumerate(second_values_statistics):
    print(stats, end=',')
print()
values = [7405, 15259, 10103, 13583, 8311, 9211, 11862, 14427, 10987, 12728]
values.sort()
sorted_values = [7405, 8311, 9211, 10103, 10987, 11862, 12728, 13583, 14427, 15259]
for i in values:
    print(i, end=',')
data = [7405, 15259, 7405, 7405, 7405, 10103, 7405, 15259, 7405, 13583, 7405, 7405, 7405, 10103, 7405, 15259, 8311,
        7405, 7405, 7405, 7405, 10103, 8311, 7405, 7405, 7405, 7405, 13583, 8311, 7405, 7405, 10103, 7405, 13583, 8311,
        7405, 7405, 7405, 9211, 9211, 7405, 13583, 7405, 10103, 8311, 7405, 7405, 11862, 8311, 15259, 9211, 9211, 7405,
        10103, 9211, 7405, 10103, 10987, 10103, 9211, 9211, 14427, 10987, 10987, 9211, 12728, 9211, 14427, 10987, 13583,
        10103, 11862, 9211, 13583, 10987, 14427, 10103, 12728, 9211, 15259, 9211, 13583, 10987, 9211, 10987, 9211,
        10987, 14427, 10987, 9211, 10987, 12728, 10103, 8311, 10987, 13583, 9211, 14427, 9211, 13583, 10103, 10987,
        10987, 9211, 10987, 14427, 10103, 13583, 10103, 12728, 9211, 15259, 10987, 9211, 10103, 10103, 10987, 12728,
        7405, 13583, 9211, 7405, 7405, 14427, 7405, 12728, 9211, 10987, 7405, 12728, 8311, 14427, 8311, 8311, 8311,
        7405, 7405, 9211, 8311, 10103, 8311, 14427, 7405, 10987, 7405, 8311, 7405, 7405, 7405, 15259, 9211, 7405, 8311,
        10987, 7405, 10103, 7405, 14427, 8311, 8311, 8311, 7405, 7405, 7405, 8311, 14427, 8311, 10103, 9211, 8311, 7405,
        7405, 8311, 10987, 8311, 8311, 9211, 9211, 7405, 11862, 8311, 10103, 7405, 9211, 8311, 7405, 9211, 7405, 7405,
        8311, 7405, 7405, 7405, 12728, 9211, 8311, 8311, 14427, 8311, 10987, 7405, 14427, 10103, 13583, 10103, 10103,
        10103, 12728, 9211, 14427, 8311, 10103, 8311, 7405, 7405, 10103, 7405, 8311, 7405, 15259, 9211, 8311, 7405,
        14427, 9211, 7405, 8311, 14427, 7405, 10987, 7405, 14427, 7405, 11862, 8311, 8311, 7405, 13583, 7405, 7405,
        9211, 9211, 8311, 10103, 8311, 7405, 9211, 8311, 7405, 8311, 7405, 15259, 8311, 7405, 7405, 10103, 9211, 8311,
        8311, 8311, 7405, 10987, 8311, 14427, 8311, 7405, 7405, 7405, 7405, 11862, 8311, 10103, 8311, 7405, 7405, 7405,
        9211, 9211, 8311, 11862, 8311, 10987, 7405, 11862, 8311, 10987, 8311, 11862, 7405, 7405, 7405, 11862, 8311,
        10987, 9211, 15259, 9211, 12728, 10987, 10987, 9211, 14427, 10987, 11862, 10103, 8311, 12728, 10987, 10987,
        14427, 7405, 13583, 11862, 9211, 8311, 14427, 8311, 15259, 8311, 8311, 7405, 14427, 8311, 10103, 7405, 12728,
        12728, 9211, 8311, 15259, 12728, 8311, 12728, 9211, 9211, 14427, 8311, 10987, 8311, 10103, 9211, 8311, 7405,
        10987, 9211, 10987, 12728, 9211, 7405, 14427, 8311, 10103, 7405, 11862, 8311, 10987, 8311, 13583, 8311, 9211,
        7405, 7405, 8311, 15259, 11862, 9211, 8311, 10987, 8311, 10103, 12728, 13583, 12728, 13583, 12728, 13583, 12728,
        10103]
new_data = []
for i in data:
    if i == sorted_values[0]:
        new_data.append(0)
    if i == sorted_values[1]:
        new_data.append(1)
    if i == sorted_values[2]:
        new_data.append(2)
    if i == sorted_values[3]:
        new_data.append(3)
    if i == sorted_values[4]:
        new_data.append(4)
    if i == sorted_values[5]:
        new_data.append(5)
    if i == sorted_values[6]:
        new_data.append(6)
    if i == sorted_values[7]:
        new_data.append(7)
    if i == sorted_values[8]:
        new_data.append(8)
    if i == sorted_values[9]:
        new_data.append(9)
print()
for i in new_data:
    print(i, end='')
print()
str = "090003090700030910000310000710030710002207031005192203203432284426284735274836292742424842463147282734424837362942334607200806240618111002131804010009201403081110001813210014112205130210200100062118140837333628131003010921082018040805110700221310210109100321110418100005131000221514051415000514292644284531644807521819110813066219616228141321042462081305141712001952141367676763"

# 将每两个字符转换为十进制数
decimal_values = [int(str[i:i + 2], 10) for i in range(0, len(str), 2)]

# 输出转换后的十进制数
for value in decimal_values:
    print(value, end=',')
num_list = [9,0,3,9,7,0,3,9,10,0,3,10,0,7,10,3,7,10,0,22,7,3,10,5,19,22,3,20,34,32,28,44,26,28,47,35,27,48,36,29,27,42,42,48,42,46,31,47,28,27,34,42,48,37,36,29,42,33,46,7,20,8,6,24,6,18,11,10,2,13,18,4,1,0,9,20,14,3,8,11,10,0,18,13,21,0,14,11,22,5,13,2,10,20,1,0,6,21,18,14,8,37,33,36,28,13,10,3,1,9,21,8,20,18,4,8,5,11,7,0,22,13,10,21,1,9,10,3,21,11,4,18,10,0,5,13,10,0,22,15,14,5,14,15,0,5,14,29,26,44,28,45,31,64,48,7,52,18,19,11,8,13,6,62,19,61,62,28,14,13,21,4,24,62,8,13,5,14,17,12,0,19,52,14,13,67,67,67,63]
print()
character_table = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_}{-?!"

# 将十进制数映射到字符表
result = [character_table[value] for value in num_list]

# 输出转换后的字符
for char in result:
    print(char, end='')

标签:10987,Misc,Justlisten,8311,2023,7405,3726,9211,10103
From: https://www.cnblogs.com/Smera1d0/p/17780785.html

相关文章

  • 20231307 刘芷彤 罗马数字转阿拉伯数字(选做)
    参考https://blog.csdn.net/a197p/article/details/75475456,回答1罗马数字是位置计数吗?它的缺点是什么?罗马数字不是位置计数,它具有无法表示0,无法直观表示数字,字形复杂,书写困难等的缺点。2把你的8位学号(20231xxx)转化成罗马数字 MMXXIII 3参考上面的博客,用Pyhton写......
  • CSP2023游记
    一场悲伤而又离谱的考试吧。唉。CSP—J谁能想到我是第一次参加CSPJ呢(去年疫情原因没有来)早上出门还挺顺利,但是忘带准考证,不愧是我(还好有电子准考证救我狗命)坐在电脑前,啥也没拿,跟人家旁边的小孩借了根笔。开机了,看着windows一脸蒙逼。我不是选的Linux嘛???为什么是Windows......
  • CSP-S 2023 总结
    估分100+35+100+0=235洛谷,云斗、小图灵都完全一致,基本确认了。简单分析一下各题情况:T1简单题,写+拍用了约30min,上拍用的时间有点久,总时间理想情况下要控在20min。问题在于写代码不够快,考虑多打CF练练手速。T2偏思维向,想了约2h没想出来。问题在于一开始方向定错了,想着manacher......
  • 2023 CSP-J 总结
    普及组还好,给下午的提高组涨了涨信心,预估分数:\(100+100+100+20=320\),实际分数不知道。T1:小苹果/apple题目描述小Y的桌子上放着\(n\)个苹果从左到右排成一列,编号为从\(1\)到\(n\)(\(n\le10^9\))。小苞是小Y的好朋友,每天她都会从中拿走一些苹果。每天在拿的时候,小苞......
  • Jupyter QtConsole 配置,2023 年了你还在使用 QtConsole 吗?
    目录JupyterQtConsole配置,2023年了你还在使用QtConsole吗?JupyterQtConsole的安装设置字体启动时自动加载需要的库包JupyterQtConsole配置,2023年了你还在使用QtConsole吗?Jupyter想必大家已经很熟悉了,它是一个开源的交互式计算环境,支持多种编程语言。它提供了一个灵......
  • CSP2023 游记
    凄凉的世界。走投无路了。2ht3怒砍0分。只会t1能拿一等吗?upd:二等光荣退役了哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈唔唔唔唔唔唔唔唔呵呵呵!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!......
  • 「CSP-2023」我曾璀璨星空,星月相伴,致远方,致过往。
    Day-1 像往常一样去上学。虽然身在学校但感觉心还在比赛上。在一个上午课间准备去上厕所时遇见了信息老师。她在教我们班信息之前我的一些奖状的指导教师就是写的她,之前就认识了,每次碰到她都会朝我笑。这次她祝我CSP加油。下午数学突然考了一场考试,题目都是奥数题。交卷的时......
  • CSP2023感触回忆录
    太痛苦的经历了不太想回忆当时出来,自己觉得\(200\)上下,和jpy约好的等他一下,我当时站在窗户边,没什么想说的,就是感觉无助,感觉迷茫后来和dingyi讨论了一下,发现我们差不多情况,好了一点,然后强撑着去找jpy他出来看见我就哭了,其实当时我也想哭,但是一直忍着然后安慰了一下他,发现其......
  • 2023-2024-1 20231424 《计算机基础与程序设计》第4周学习总结
    2023-2024-120231424《计算机基础与程序设计》第4周学习总结作业信息作业属于的课程2022-2023-1-计算机基础与程序设计作业要求2022-2023-1计算机基础与程序设计第一周作业作业目标自学计算机科学概论第4章,第5章和C语言程序设计第3章作业正文https://www......
  • #学期2023-2024-1 20231416 《计算机基础与程序设计》》第四周学习总结
    ##作业信息这个作业属于哪个课程2023-2024-1-计算机基础与程序设计这个作业要求在哪里2023-2024-1计算机基础与程序设计第四周作业这个作业的目标自学教材:计算机科学概论第4章,第5章,C语言程序设计第3章并完成云班课测试作业正文 https://www.cnblogs.com/shanshu......