自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (13)
  • 收藏
  • 关注

原创 【笨方法学PAT】对字符串的reverse

一、reversestring s;reverse(s.begin(),s.end());头文件:#include<algorithm>二、代码#include<iostream>#include<string>#include<algorithm>using namespace std;int main() { st...

2018-09-23 23:01:33 144

原创 【笨方法学PAT】1013 Battle Over Cities(25 分)

一、题目It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if ...

2018-09-11 12:31:06 158

原创 【笨方法学PAT】1012 The Best Rank(25 分)

一、题目To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Linear Algrbra), and E...

2018-09-11 11:14:57 784 1

原创 【笨方法学PAT】1011 World Cup Betting(20 分)

一、题目With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Afri...

2018-09-11 10:14:41 96

原创 【笨方法学PAT】1010 Radix(25 分)

一、题目Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number.Now for any pair of positiv...

2018-09-11 09:51:17 1699 1

原创 【笨方法学PAT】1009 Product of Polynomials(25 分)

一、题目This time, you are supposed to find A×B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the i...

2018-09-11 09:43:03 120

原创 【笨方法学PAT】1008 Elevator(20 分)

一、题目The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs...

2018-09-11 09:42:58 176 1

原创 【笨方法学PAT】1007 Maximum Subsequence Sum(25 分)

一、题目Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i+1​​, ..., N​j​​ } where 1≤i≤j≤K. The Maximum Subsequence is the continuous sub...

2018-09-11 09:42:52 1193

原创 【笨方法学PAT】1006 Sign In and Sign Out(25 分)

一、题目At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door. Given the records of signing in's and out'...

2018-09-10 20:16:39 99

原创 【笨方法学PAT】C++中string scanf读取和printf输出

一、scanfa.resize(100); //需要预先分配空间scanf("%s", &a[0]);头文件:#include<string>二、printfprintf(a.c_str());头文件:#include<string>三、代码#include <iostream>#include <string&gt...

2018-09-10 20:14:19 691

原创 【笨方法学PAT】1005 Spell It Right(20 分)

一、题目Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contains one test cas...

2018-09-10 17:39:21 96

原创 【笨方法学PAT】1004 Counting Leaves(30 分)

一、题目1004 Counting Leaves(30 分)A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contai...

2018-09-10 17:04:26 850

原创 【笨方法学PAT】DFS核心思想与模板

一、DFS算法核心思想与难点【核心思想】不撞南墙不回头,参考:解救小哈——DFS算法举例【做题难点】维护变量的个数、什么时候标记、什么时候退出、是否需要保存路径、什么时候回溯,可以看下面的几道典型例题,好好揣摩。二、DFS算法模板void dfs(int step){ 剪枝{ 相应操作 return; } 到达目的地{ 更新数据 } 尝试每一种可能{ 满...

2018-09-10 15:20:00 851

原创 【笨方法学PAT】1003 Emergency(25 分)

一、题目As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams in each city and...

2018-09-10 15:12:37 307

原创 【笨方法学PAT】1002 A+B for Polynomials(25 分)

一、题目This time, you are supposed to find A+B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupies 2 lines, and each line contains the i...

2018-09-10 13:55:35 181

原创 【笨方法学PAT】string 与 int 的互相转换

一、string 转 intstoi()函数头文件:#include<string>二、int 转stringto_string()函数头文件:#include<string>三、代码#include<iostream>#include<string>using namespace std;int main() {...

2018-09-10 13:35:03 244

原创 【笨方法学PAT】1001 A+B Format(20 分)

一、题目1001 A+B Format(20 分) Calculate a+b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input...

2018-09-10 13:08:31 139

【Java】学生管理系统——Servlet实现,代码和数据库(源代码下载)

【Java】学生管理系统——Servlet实现,代码和数据库(源代码下载) 文章链接:https://blog.csdn.net/linghugoolge/article/details/102778180

2019-10-29

【反编译工具】ILSpy中文版2.1.0.1603

官网下载速度太慢了,所以这里放一个资源,亲测可用,以备自己之后下载使用。也欢迎下载

2018-04-20

微信小程序——简单计算器

【初学者】微信小程序,实现简单的计算功能,包括index界面、计算界面

2018-01-29

android在线图片浏览器

功能:1、可以在线显示网络图片;2、对单张图片进行放大缩小拖动功能。 博客:https://www.jianshu.com/p/16942fbd50f3

2018-01-07

Android 图片轮播

功能:1、访问服务器;2、获取图像;3、轮播 博客:参考:https://www.jianshu.com/p/16942fbd50f3

2018-01-07

android异步加载服务器数据

功能:1、从服务器获取数据;2、异步加载;3、显示 参考:https://www.jianshu.com/p/16942fbd50f3

2018-01-07

chromedriver

Python爬虫使用Chrome浏览器内核,使用与没有梯子的同学,官网下载地址:http://chromedriver.storage.googleapis.com/index.html?path=2.27/

2018-01-03

phantomjs-2.1.1-windows

官网地址:http://phantomjs.org/download.html;下载速度太慢了,提供一份镜像

2018-01-02

数据挖掘常用数据集 GroupLens_MovieLens 3套数据集

数据挖掘常用数据集,包括GroupLens_MovieLens 3套数据集,100k、1m、10m的数据。跟官网数据一致,解决官网下载速度特别慢的问题https://grouplens.org/datasets/movielens/

2017-12-30

TensorFlow实战_黄文坚+Tensorflow 实战Google深度学习框架

【TensorFlow实战_黄文坚】+【Tensorflow 实战Google深度学习框架】,两本书豆瓣评分7.3,7.9,系统学习TensorFlow。

2017-12-24

【软著查询代码行数Windows】SourceCounter

申请软件著作权需要统计代码行数,一行行统计比较麻烦 工具使用教程:https://jingyan.baidu.com/article/19192ad814a40fe53e5707c2.html 软件著作申请完整教程:http://www.jianshu.com/p/edf9ab6da802

2017-12-18

msvcp120d .dll、msvcr120d.dll包括32位和64位

自己在配置OpenCV+VS2015的时候报错,msvcp120d .dll、msvcr120d.dll包括32位和64位,【注意】32位的msvcp120d 和msvcr120d放到了C:\Windows\SysWOW64,64位的msvcp120d 和msvcr120d放到了C:\Windows\System32

2017-12-08

【爬虫】安全测试题库(Python)

简单Python爬虫:获取URL链接;正则处理;保存TXT

2017-07-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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