摘要:
1心得体会 沛奇老师讲的真心不错。通过这节学习,让我能简单获取一些网站的信息了。以前是只能获取静态网页,不知道获取要登录的网站的资源。这次后能获奖一些需要登录功能网站的资源了,而且也对requests模板更加熟练了。更重要的是,当爬虫时,怎么去分析网页,这个学到了很多。 2 什么是爬虫 百度百科:网 阅读全文
摘要:
A 签到题 求出现次数最多的数的次数。 B. Binary String Constructing B. Binary String Constructing You are given three integers aa, bb and xx. Your task is to construct 阅读全文
摘要:
A. Balloons A. Balloons There are quite a lot of ways to have fun with inflatable balloons. For example, you can fill them with water and see what hap 阅读全文
摘要:
A. Nastya and an Array A. Nastya and an Array Nastya owns too many arrays now, so she wants to delete the least important of them. However, she discov 阅读全文
摘要:
托米历险记 题目描述 这天,托米家的电影院门口排起了长队--因为最新的电影"托米历险记"就要上映了! 每个人都有且仅有一张面值为25或50或100元的钞票.一张电影票的价格是25元. 托米想知道售票员能否在初始金钱为0并且按排队顺序售票的情况下完成找零. 输入描述: 第一行一个数字n,表示排队的人的 阅读全文
摘要:
A 走格子 题目描述 在平面上有n*n大小的正方形,定义正方形左下角坐标是(1,1),右下角坐标是(n,1) 现在A君在左下角,他的初始方向是向右,他要在正方形内走m步 当A君碰到边界或者已经走过的格子时,他便会逆时针转90°继续走,直到走完m步。 现在给你两个整数n和m,请算出走完m步后A君的坐标 阅读全文
摘要:
C. Equal Sums C. Equal Sums You are given kk sequences of integers. The length of the ii-th sequence equals to nini. You have to choose exactly two se 阅读全文
摘要:
C. Three displays C. Three displays It is the middle of 2018 and Maria Stepanovna, who lives outside Krasnokamensk (a town in Zabaikalsky region), wan 阅读全文
摘要:
Tom和Jerry正在玩一种Northcott游戏,可是Tom老是输,因此他怀疑这个游戏是不是有某种必胜策略,郁闷的Tom现在向你求救了,你能帮帮他么? 游戏规则是这样的: 如图所示,游戏在一个n行m列(1 ≤ n ≤ 1000且2 ≤ m ≤ 100)的棋盘上进行,每行有一个黑子(黑方)和一个白子 阅读全文
摘要:
Bomb Game John and Jack, two mathematicians, created a game called “Bomb Game” at spared time. This game is played on an n*m chessboard. A pair of int 阅读全文