摘要: 使用EasyX c++库 中点算法直线绘制 //中点算法划线:横向直线绘制 void DDAline(int x1, int y1, int x2, int y2, int color) { int x; float dx, dy, y, k; dx = x2 - x1, dy = y2 - y1; 阅读全文
posted @ 2024-09-26 17:06 Cayan 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 题目:matplotlib库的网页已下载并保存于“matplotlib · PyPI.html”文件(utf-8格式)中,请爬取并显示第i个版本的信息,并显示文件名(*.whl)、文件大小、更新时间、适用版本。i由键盘输入。其中第1版本显示如包过下图: (图片没有)! 对应脚本如下: <div cl 阅读全文
posted @ 2024-09-26 16:32 Cayan 阅读(30) 评论(0) 推荐(0) 编辑
摘要: import gmpy2 # 计算大整数模块import libnumimport rsafrom Crypto.PublicKey import RSA # 安装时安装pycryptodome模块 # 已知:p,q,e,cdef known_p_q_e_c(): p = int(input('请输 阅读全文
posted @ 2024-07-24 20:12 Cayan 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题目文件from Crypto.Util.number import * flag = b''m = bytes_to_long(flag)p = getPrime(128)q = getPrime(128)phi = (p - 1) * (q - 1)n = p * qe = 65537c = p 阅读全文
posted @ 2024-07-24 20:11 Cayan 阅读(395) 评论(0) 推荐(0) 编辑
返回顶端
点击右上角即可分享
微信分享提示