![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT
不止想摸鱼
这个作者很懒,什么都没留下…
展开
-
L1-064 估值一亿的AI核心代码 (20分) 测试点二错的进来
**题目就不抄了,核心思路就给一个: 测试一下 can youI,正确的应该原样输出,而不应该转换为I canI同理其他转换的也类似,如果能给到你帮助请点赞支持~不然不妨留言让我知道居然不是这个测试点!!!**...原创 2020-08-09 19:09:53 · 1017 阅读 · 5 评论 -
1061 Dating (1014 福尔摩斯的约会) 之字符串匹配
PAT 1061甲级1014乙级 现在这个年头约会都要会编程原创 2020-05-17 16:39:04 · 128 阅读 · 0 评论 -
1077 Kuchiguse之字符串末尾匹配
PAT 1077 简单的字符串匹配终于来了原创 2020-05-16 15:52:11 · 197 阅读 · 0 评论 -
1035 Password 之 字符串修改密码
PAT 1035 0oOl1不分原创 2020-05-15 15:28:35 · 197 阅读 · 0 评论 -
1005 Spell It Right 教你说英文
PAT 字符串与数字相互转换,看这篇就懂原创 2020-05-15 14:35:50 · 293 阅读 · 0 评论 -
1140 Look-and-say Sequence(1084 外观数列)之 字符串处理
PAT 1140 外观数列原创 2020-05-15 14:09:26 · 119 阅读 · 0 评论 -
#include climits 这个在C++中是是什么函数?
头文件定义的符号常量CHAR_MIN char的最小值SCHAR_MAX signed char 最大值SCHAR_MIN signed char 最小值UCHAR_MAX unsigned char 最大值SHRT_MAX short 最大值SHRT_MIN short 最小值USHRT_MAX unsigned short 最大值INT_MAX int 最大值INT_MIN int原创 2020-05-13 15:11:35 · 374 阅读 · 0 评论 -
1012 The Best Rank 排序之结构体的flag
PAT 1012 中学时期的各科排名如何智能生成,这里给你答案。原创 2020-05-12 14:56:05 · 126 阅读 · 0 评论 -
1105 Spiral Matrix(1050 螺旋矩阵) 模拟的精髓在于模拟
PAT 1105 1050 螺旋矩阵 ,很好玩的样子,不来看看吗?原创 2020-05-09 15:42:32 · 113 阅读 · 0 评论 -
1046 Shortest Distance 模拟环形圈选出最近
PAT 1046 从前有一位姥姥画了一个圈。。。原创 2020-05-08 14:42:01 · 76 阅读 · 0 评论 -
1044 Shopping in Mars模拟火星付款
PAT 1044 以后去火星买东西就不怕被人说浪费啦原创 2020-05-07 15:27:59 · 166 阅读 · 0 评论 -
1042 Shuffling Machine 之模拟洗牌
PAT1042,学会这个洗牌程序,再也不担心以后不会洗牌了!原创 2020-05-06 14:52:21 · 136 阅读 · 0 评论 -
1017 Queueing at Bank 模拟银行排队之等待时间==时间之差
1017 PAT 排队的实质是时间之差,想不排队就要晚来?!原创 2020-05-02 14:12:41 · 259 阅读 · 0 评论 -
1009 Product of Polynomials 之巧用map做多项式
PAT1009多项式的克星——map。原创 2020-05-01 14:37:40 · 119 阅读 · 0 评论 -
1003 Emergency 超详细解答
#include<cstdio>#include<cstring>#include<algorithm>using namespace std;const int MAXV = 510; // 最大顶点数 const int INF = 1000000000; // 无穷大 int n, m, st, ed, G[MAXV][MAXV], w...原创 2020-02-17 11:42:09 · 1191 阅读 · 1 评论 -
1076 Forwards on Weibo PAT甲级初学
题目Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed with followers relations. When...原创 2020-03-22 13:45:51 · 63 阅读 · 0 评论 -
1030 Travel Plan (30分) PAT之图最短路径算法之迪杰斯克拉算法
题目A traveler’s map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the shortest pat...原创 2020-03-24 19:45:18 · 102 阅读 · 0 评论 -
1025 PAT Ranking之学习
题目Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run simultaneously in several places, and the ranklist...原创 2020-04-06 13:52:51 · 94 阅读 · 0 评论 -
1059 Prime Factors 一文读懂素数的应用
题目Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format分析题意是给出一个long int 型的整数,让我们按规定格式输出其质因子。质因子其实就是素数,所以这是一道关于素数的应用。素数的判断我们先来回顾一下关于素数的判断,...原创 2020-04-09 19:09:10 · 407 阅读 · 0 评论