奈何少年真年少
奈何少年真年少
全部文章
PAT甲级
Android(6)
C++学习(4)
IDEA(7)
IDE工具(4)
Java学习(9)
Linux(6)
PAT乙级(16)
Proteus(1)
Python(3)
QT(1)
Unity 3D(1)
Web(8)
其它(1)
刷题总结(2)
前端学习(4)
大数据(2)
技巧(2)
操作系统(2)
数据库(3)
数据结构与算法(19)
数模(1)
服务器(2)
未归档(1)
机器学习(4)
生活记录(3)
程序人生(1)
算法笔记(3)
计算机组成原理学习(1)
计算机网络(1)
归档
标签
去牛客网
登录
/
注册
奈何少年真年少的博客
全部文章
/ PAT甲级
(共85篇)
PAT A1042 Shuffling Machine
前言 传送门 正文 题目描述 Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and ...
2020-09-07
0
590
PAT A1046 Shortest Distance
前言 传送门 正文 题目描述 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance...
2020-09-07
0
486
PAT A1065 A+B and C (64bit)
前言 传送门 正文 题目描述 Given three integers A, B and C in [−263,263], you are supposed to tell whether A+B>C. Input Specification: The first ...
2020-09-07
0
526
PAT A1002 for Polynomials
前言 传送门 正文 题目描述 This time, you are supposed to find A+B where A and B are two polynomials. Input Specification: Each input file contains ...
2020-09-07
0
736
PAT A1009 Product of Polynomials
前言 传送门 正文 This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file contains one te...
2020-09-07
0
649
PAT A1011 World Cup Betting
前言 传送门 正文 题目描述 With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from t...
2020-09-07
0
534
PAT A1006 Sign In and Sign Out
前言 传送门 正文 题目描述 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 ...
2020-09-07
0
547
PAT A1036 Boys vs Girls
前言 传送门 正文 题目描述 This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all th...
2020-09-07
0
488
PAT A1031 Hello World for U
前言 传送门 正文 思路 由题意可知,这个U需要尽可能的正,于是给出我们限制条件,即 n1=n3=max{k|k<=n2,3<=n2<=N} ;同时n1+n2+n3-2=N。可以看出,n1 就是我们需要输出的行数,n2就是我们需要输出的列数,也就是说, U形图形两...
2020-09-07
0
378
PAT A1019 General Palindromic Number
前言 传送门 正文 思路 题目意思就是判断将十进制数N转换为b进制数后是否为回文数 ,按部就班即可 参考题解 #include<iostream> #include<vector> using namespace std; /* 题目意思就是判断将十进...
2020-09-07
0
440
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页