紫墨

23333333

排序:
默认
按更新时间
按访问量

利用python3 爬取教务处实现自动查询成绩并发送给用户QQ邮箱

1.登录和识别验证码过程我使用的Google浏览器,编译器是PyCharm2017.2.4,首先进入教务处主页,如下所示:在登陆界面发现需要用户进行填写的选项主要有用户名(学号),密码,验证码以及身份的选择,其中身份默认是学生,那么显然在登录过程中我们所需要做的显然就是填写这些信息来实现登陆的操作...

2018-01-18 21:09:07

阅读数:1437

评论数:0

拓扑排序模板

拓扑排序模板/*邻接表拓扑排序模板*/ #include #include #include #include #include #include using namespace std; const int maxn=15;//顶点最大数目 struct Arcnode { int to...

2017-03-05 20:14:02

阅读数:194

评论数:1

Snakes & Ladders

题目大意: 题目的大概意思是又N*N的棋盘,编号从1 到 N*N 棋盘中分布着蛇和梯子玩家在位置1处,   然后掷骰子,如果点数在梯子尾则顺着梯子到达梯子头,若掷到蛇头,则滑到蛇尾   问最快到达终点所需掷的次数...   解题思路: bfs,创建两个地图,一个为前一步的地图,一个为...

2017-03-05 17:48:42

阅读数:283

评论数:0

ZOJ - 1649 Rescue

题目: Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to save An...

2017-03-01 16:21:24

阅读数:181

评论数:0

poj 1979 Red and Black

题目链接:http://poj.org/problem?id=1979 题目: There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man...

2017-02-27 18:56:18

阅读数:223

评论数:0

ZOJ 2412 Farm Irrigation

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2412 题目: Benny has a spacious farm land to irrigate. The farm land is a recta...

2017-02-27 18:51:16

阅读数:107

评论数:0

ZOJ 2110 Tempter of the Bone

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1110 题目: The doggie found a bone in an ancient maze, which fascinated him a lot. ...

2017-02-27 18:42:40

阅读数:112

评论数:0

codeforces 766 C Mahmoud and a Message

题目链接: 题目: Mahmoud wrote a message s of length n. He wants to send it as a birthday present to his friend Moaz who likes strings. He wrote it on a ...

2017-02-20 20:59:15

阅读数:115

评论数:0

codeforces 766 B Mahmoud and a Triangle

题目链接: 题目: Mahmoud has n line segments, the i-th of them has length ai. Ehab challenged him to use exactly 3 line segments to form a non-degenerate...

2017-02-20 20:48:48

阅读数:129

评论数:0

codeforces 766 A Mahmoud and Longest Uncommon Subsequence

题目链接:http://codeforces.com/contest/766/problem/A 题目: A. Mahmoud and Longest Uncommon Subsequence time limit per test 2 seconds memory li...

2017-02-20 20:42:04

阅读数:171

评论数:0

poj 1659 Frogs' Neighborhood

题目链接:http://poj.org/problem?id=1659 解题思路: Havel-Hakimi定理的套用,该定理详见http://sbp810050504.blog.51cto.com/2799422/883904 AC代码: //我的图论学习之路 2 #include #inclu...

2017-02-14 22:39:06

阅读数:175

评论数:0

codeforces 762A k-th divisor

题目描述: You are given two integers n and k. Find k-th smallest divisor of n, or report that it doesn't exist. Divisor of n is any such natural...

2017-01-27 10:03:36

阅读数:232

评论数:0

codeforces 750A New Year and Hurry

题目描述: Limak is going to participate in a contest on the last day of the 2016. The contest will start at 20:00 and will last four hours, exactly ...

2017-01-17 14:36:53

阅读数:319

评论数:0

codeforces 735 C Tennis Championship

题目描述: Famous Brazil city Rio de Janeiro holds a tennis tournament and Ostap Bender doesn't want to miss this event. There will be n players parti...

2017-01-15 21:50:20

阅读数:175

评论数:0

codeforces 735 B Urbanization

题目描述: Local authorities have heard a lot about combinatorial abilities of Ostap Bender so they decided to ask his help in the question of urbaniza...

2017-01-15 21:41:26

阅读数:97

评论数:0

codeforces 735 A Ostap and Grasshopper

题目描述: On the way to Rio de Janeiro Ostap kills time playing with a grasshopper he took with him in a special box. Ostap builds a line of length n...

2017-01-14 17:34:38

阅读数:158

评论数:0

codeforces 754 B Ilya and tic-tac-toe game

题目描述: Ilya is an experienced player in tic-tac-toe on the 4 × 4 field. He always starts and plays with Xs. He played a lot of games today with his...

2017-01-09 11:36:59

阅读数:94

评论数:0

codeforces 754 A Lesha and array splitting

题目描述: One spring day on his way to university Lesha found an array A. Lesha likes to split arrays into several parts. This time Lesha decided to...

2017-01-08 15:42:45

阅读数:442

评论数:0

hdu 5546 Ancient Go

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5546 题目描述: Problem Description Yu Zhou likes to play Go with Su Lu. From the historical resea...

2016-11-21 00:19:37

阅读数:185

评论数:0

codeforces 729_B

题目链接:http://codeforces.com/problemset/problem/429/B 题目描述: B. Working out time limit per test 2 seconds memory limit pe...

2016-11-17 23:05:40

阅读数:189

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭