2020年3月27日
摘要: 整体思路利用vbs启动qq找到相应的对象进行访问,利用剪切板从而把想发送的消息使用sendkeys进行粘贴,最后进行关闭操作。 如何定时呢,我们将使用cmd就可以了,因为windows自带时间的读取和操作。 用c++编写代码关于定时操作,最后将c++代码生成exe文件,放到服务器上就可以每天自动发送 阅读全文
posted @ 2020-03-27 23:09 闻声 阅读(818) 评论(0) 推荐(0) 编辑
  2019年9月15日
摘要: 开始觉得这道题是一个贪心发现每次操作很麻烦,一直到比赛结束也没想到什么好的办法。 题意: 有一个无限大的二维格子,从其中任意一点作为起点,按照所给的字符串WASD四个方向去移动,我们在字符串任意位置插入一个操作(WASD四个方向的一个),使走过方格所围成的矩形面积最小。 题解: 如果暴力考虑在某个位 阅读全文
posted @ 2019-09-15 14:58 闻声 阅读(216) 评论(0) 推荐(0) 编辑
  2019年4月24日
摘要: 本文部分借鉴源于大佬的博客:http://www.cnblogs.com/mrclr/p/8423136.html%20 现在有一个问题,有一个一维数组,求它的最大区间和。 我们可以利用贪心的思想,先将这个数组前缀和处理,所以我们可以得到区间和为 sum[L—R] = sum[R] - sum[L- 阅读全文
posted @ 2019-04-24 14:31 闻声 阅读(822) 评论(0) 推荐(1) 编辑
  2018年12月4日
摘要: Graph constructive problems are back! This time the graph you are asked to build should match the following properties. The graph is connected if and 阅读全文
posted @ 2018-12-04 11:18 闻声 阅读(193) 评论(0) 推荐(0) 编辑
  2018年9月8日
摘要: time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per test 2 seconds time limit 阅读全文
posted @ 2018-09-08 10:14 闻声 阅读(413) 评论(0) 推荐(0) 编辑
  2018年8月20日
摘要: B. Segment Occurrence time limit per test:2 seconds memory limit per test:256 megabytes input:standard input output:standard output You are given two 阅读全文
posted @ 2018-08-20 09:37 闻声 阅读(192) 评论(0) 推荐(0) 编辑