题目背景 思路解析:很经典的贪心问题,把物品按照从便宜到贵的顺序排好序,然后按照富贵程度排人,直接暴力会tle所以这里采用双指针. #include<iostream>#include<algorithm>#include<cstring>#include<cmath>#include<string>using namespace std;int n, m, res;int qi
思路很清晰,爆IV 但是题目出的有点屎,六位字符串,62的6次方,要我爆到猴年马月? 就当练习脚本吧 #Cyber2 wpfrom Crypto.Cipher import DES, AES from Crypto.Util.Padding import pad, unpad key_des = b'0a0b0c0d' # DES key must be 8 bytes l