标签归档:PAT Advanced

PAT-Advanced-1015 Reversible Primes

A reversible prime in any number system … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1014 Waiting in Line

Suppose a bank has N windows open for se … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1013 Battle Over Cities

It is vitally important to have all the … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1011 World Cup Betting

With the 2010 FIFA World Cup running, fo … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1010 Radix

Given a pair of positive integers, for e … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1009 Product of Polynomials

This time, you are supposed to find A*B … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1008 Elevator

The highest building in our city has onl … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1007 Maximum Subsequence Sum

Given a sequence of K integers { N1, N2, … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1006 Sign In and Sign Out

At the beginning of every day, the first … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论

PAT-Advanced-1005 Spell It Right

Given a non-negative integer N, your tas … 继续阅读

发表在 算法与数据结构 | 标签为 | 留下评论