- 博客(12)
- 资源 (1)
- 收藏
- 关注
转载 【总结】int,long,long long类型的范围
unsigned int 0~4294967295 int 2147483648~2147483647 unsigned long 0~4294967295long 2147483648~2147483647long long的最大值:9223372036854775807long long的最小值:-9223372036854775808unsigned long...
2018-10-27 16:12:44 1075
原创 【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 informa...
2018-10-26 13:50:59 172
原创 【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 6 sec...
2018-10-26 12:35:25 285
原创 【PAT甲级】1007 Maximum Subsequence Sum (25 分)
Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1≤i≤j≤K. The Maximum Subsequence is the continuous subsequen...
2018-10-26 12:21:42 262
原创 【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's, ...
2018-10-26 11:31:13 234
原创 【PAT甲级】1005 Spell It Right (20 分)
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...
2018-10-26 11:14:23 196
转载 【PAT甲级】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 contains one test case. Each case starts...
2018-10-23 13:46:09 613
转载 【数据库】SQLServer中默认表有哪些
SQL Server安装4个系统数据库。它们分别是master数据库、model数据库、tempdb数据库和msdb数据库。这些数据库是SQL Server的心脏和灵魂。另外,还安装了两个实例数据库,分别是:Northwind和pubs系统数据库4个master数据库:master数据库控制SQL Server的所有方面。这个数据库中包括所有的配置信息、用户登录信息、当前正在服务器中运...
2018-10-17 20:41:04 3091
原创 【最短路】Bellman-ford算法
今天看啊哈算法搞懂了Bellman-ford算法,其实核心代码只有四行,还是蛮简单的,写了一个板子,代码分析容后再议(我才不是想水博客呢……)#include <iostream>#define MAXN 501#define INF 1e7using namespace std;int n,m,start,end;//点数,边数,起点,终点 int map[MAX...
2018-10-16 19:26:44 838
转载 【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 the l...
2018-10-16 11:33:51 218
原创 【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 informa...
2018-10-15 21:29:49 6802 5
原创 【PAT甲级】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 Specification:Each input ...
2018-10-15 20:37:31 463
VS2012OpenGL配置所需要的全部lib,dll,h文件,亲测有效,下载这一个就够了
2018-03-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人