摘要: Ubuntu 16.04 安装hplip和hplip plugin issue 输入正确的密码,但显示错误。 "原因是安装了anaconda版本的python" apt get install无法安装hplib plugin。 "部分惠普打印机需要hplib plugin" solution 修改P 阅读全文
posted @ 2018-12-19 15:41 MalcolmMeng 阅读(6268) 评论(0) 推荐(1) 编辑
摘要: codeforces 1028C "codeforces 1028C link" introduction 求一个点,要求这个点最少要被n 1个矩形覆盖 useful knowledge 基数型 前后缀 前i个,后i个 序数型 前后缀 从开始达第i个,从最后到第i个 很多量都可以用前后缀来管理 1. 阅读全文
posted @ 2018-12-19 10:58 MalcolmMeng 阅读(117) 评论(0) 推荐(0) 编辑
摘要: codeforces 849B "B. Tell Your World" introduction 判断是否存在两条线,使得所有的点都落在这两条线上,并且每条线上至少有一个点 method 先取三个点,两两之间连线,则如果满足要求,三条线必有一条是结果中的直线。剩下的工作就是判断剩下的点是否在这条直 阅读全文
posted @ 2018-12-19 10:54 MalcolmMeng 阅读(137) 评论(0) 推荐(0) 编辑