E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
pintia.cn
链表的查找
题目:https://
pintia.cn
/problem-sets/15/problems/727题目设定查找失败返回error为-1ElementTypeFindKth(ListL,intK){intsum
桺先生
·
2020-08-21 02:21
7-20 Binary Search Tree(25 分)
https://
pintia.cn
/problem-sets/16/problems/682Abinarysearchtreeisuniquelydeterminedbyagivenorderedinsertionsofasequenceofpositiveintegers.Ontheotherhand
itorly
·
2020-08-21 00:50
PTA-Data
Structures
and
Algori
树
【MAC 上学习 C++】Day 3-5. 练习2-13 求N分之一序列前N项和 (15 分)
练习2-13求N分之一序列前N项和(15分)1.题目摘自https://
pintia.cn
/problem-sets/12/problems/2462.题目内容本题要求编写程序,计算序列1+1/2+1/
RaRasa
·
2020-08-20 21:57
L1-027 出租 L2-014 列车调度 set二分
https://
pintia.cn
/problem-sets/994805046380707840/problems/994805107638517760#includeusingnamespacestd
阿晴0219
·
2020-08-20 04:59
字符串
STL
判断上三角矩阵(C语言实现及优化思考)
/*8.判断上三角矩阵(PTA|程序设计类实验辅助教学平台https://
pintia.cn
/problem-sets/12/problems/326C语言实训题)任务描述上三角矩阵指主对角线以下的元素都为
追梦2017
·
2020-08-20 00:44
高级语言程序设计
【MAC 上学习 C++】Day 4-1. 练习2-14 求奇数分之一序列前N项和 (15 分)
练习2-14求奇数分之一序列前N项和(15分)1.题目摘自https://
pintia.cn
/problem-sets/12/problems/2472.题目内容本题要求编写程序,计算序列1+1/3+1
RaRasa
·
2020-08-20 00:35
PAT-BASIC1002——写出这个数
我的PAT-BASIC代码仓:https://github.com/617076674/PAT-BASIC原题链接:https://
pintia.cn
/problem-sets/994805260223102976
清風逐尘乀
·
2020-08-19 19:38
PAT乙级真题题解
【MAC 上学习 C++】Day 2-5. 练习2-8 计算摄氏温度 (10 分)
练习2-8计算摄氏温度(10分)1.题目摘自https://
pintia.cn
/problem-sets/12/problems/2412.题目内容给定一个华氏温度F,本题要求编写程序,计算对应的摄氏温度
RaRasa
·
2020-08-19 18:02
【MAC 上学习 C++】Day 3-4. 练习2-12 输出华氏-摄氏温度转换表 (15 分)
练习2-12输出华氏-摄氏温度转换表(15分)1.题目摘自https://
pintia.cn
/problem-sets/12/problems/2452.题目内容输入2个正整数lower和upper(lower
RaRasa
·
2020-08-19 10:41
汉诺塔的非递归实现
原题:https://
pintia.cn
/problem-sets/15/problems/821汉诺塔的实现对于与我这种菜鸟来说第一时间都是想到递归,而且通过了。
lzq@
·
2020-08-18 23:30
算法
PTA|浙大版《C语言程序设计(第3版)》题目集:习题6-3 使用函数输出指定范围内的完数
做题地址:https://
pintia.cn
/problem-sets?
awesome-csu
·
2020-08-18 06:34
c语言程序设计
PTA L2-028 秀恩爱分得快
题目链接:https://
pintia.cn
/problem-sets/994805046380707840/problems/994805054698012672古人云:秀恩爱,分得快。
smiling~
·
2020-08-18 05:33
pta
模拟
PAT甲级 1105 Spiral Matrix (25分)
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805363117768704思路:1.将所给序列倒序排序;2.一圈一圈地将序列逆时针填入矩阵
Yuhan の Blog
·
2020-08-18 02:07
PAT
(Advanced
Level)
Practice
PAT甲级 1026 Table Tennis (30分)
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805472333250560思路:据说现在PAT已经不考这种大模拟了
Yuhan の Blog
·
2020-08-18 02:37
PAT
(Advanced
Level)
Practice
PAT 甲级 1104 Sum of Number Segments (20分)
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805363914686464思路:1.我们用序号[0…n-1]来给这
Yuhan の Blog
·
2020-08-18 02:37
PAT
(Advanced
Level)
Practice
PAT甲级 1106 Lowest Price in Supply Chain (25分)
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805362341822464思路:1.考察树的dfs;2.零售商只可能在叶子节点
Yuhan の Blog
·
2020-08-18 02:37
PAT
(Advanced
Level)
Practice
PAT-ADVANCED1013——Battle Over Cities
我的PAT-ADVANCED代码仓:https://github.com/617076674/PAT-ADVANCED原题链接:https://
pintia.cn
/problem-sets/994805342720868352
清風逐尘乀
·
2020-08-18 01:21
PAT甲级真题题解
c++中 sort() 函数用法 及其强大之处
first,last)之间的进行排序注意最后一个last是不包括的cmp是比较函数是一个自定义的比较规则对于cmp函数的编写的利用sort函数的关键下面看应用实例pat1028甲级题目https://
pintia.cn
幼稚柚子
·
2020-08-17 22:01
算法
字符串
PAT A1059 Prime Factors (25分)
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805415005503488题目描述GivenanypositiveintegerN
CSHran
·
2020-08-17 20:18
PAT
pat a1059 Prime Factors (25分) 【质因子分解】
题目:https://www.nowcoder.com/pat/5/problem/4112https://
pintia.cn
/problem-sets/994805342720868352/problems
康斯但丁丶
·
2020-08-17 20:21
#
★
算法笔记
#
7
数学题
L1-043 阅览室 (20分)
原题地址:https://
pintia.cn
/problem-sets/994805046380707840/problems/994805087447138304题目:天梯图书阅览室请你编写一个简单的图书借阅统计程序
BCadillac
·
2020-08-17 19:25
解题记录
数组元素循环右移问题(PAT)(https://
pintia.cn
/problem-sets/17/problems/262)
@[自测-3数组元素循环右移问题)https://
pintia.cn
/problem-sets/17/problems/262这个问题有两种方法,显示的结果都相同,但有区别上题目一个数组A中存有N(>0
游曳
·
2020-08-17 11:36
数据结构---多项式的乘积与和(PTA)
https://
pintia.cn
/problem-sets/910354764736491520/problems/910354975319912449(一元多项式的乘法和加法)点击打开题目链接注意:
菜椒123
·
2020-08-17 10:26
数据结构
关于二维数组开太大"爆栈"的问题
关于二维数组开太大"爆栈"的问题今天在做一道有权图的最短路径算法时(https://
pintia.cn
/problem-sets/15/problems/717),第一次碰到这种问题。
aiFee
·
2020-08-17 07:02
C++
L3-2 森森快递 (30 分)(贪心+线段树/分块)
题目链接:https://
pintia.cn
/problem-sets/1108203702759940096/problems/1108204121661857798题目大意:森森开了一家快递公司,叫森森快递
diaomeijiao3430
·
2020-08-17 05:21
PAT 乙级 1041 考试座位号 (15 分)
题目:https://
pintia.cn
/problem-sets/994805260223102976/problems/994805281567916032经验总结:定义结构体structstu,试机座位可代表下标
资深小透明
·
2020-08-15 14:26
PAT
乙级
希尔排序与快速排序(详细注释)附带csdn代码复制错误的解决方法
https://
pintia.cn
/problem-sets/14/problems/743感觉自己c++的库函数用多了都快忘了快排怎么了,遂写篇博客回顾一下快排,并学习一下之前没看过的希尔排序。
Antaresz
·
2020-08-15 09:51
PAT乙级1044 火星数字 (20 分)
https://
pintia.cn
/problem-sets/994805260223102976/problems/994805279328157696测试点34不过,没找到原因#include#include
天上地下,唯我独尊
·
2020-08-14 21:03
PAT乙级
PAT Basic Level 1044 火星数字
题目链接:https://
pintia.cn
/problem-sets/994805260223102976/problems/994805279328157696AC代码:#include#include
juip
·
2020-08-14 19:20
PAT
PAT
Basic
Level
数据结构与算法题目集7-17——汉诺塔的非递归实现
我的数据结构与算法题目集代码仓:https://github.com/617076674/Data-structure-and-algorithm-topic-set原题链接:https://
pintia.cn
清風逐尘乀
·
2020-08-14 19:02
数据结构与算法题目集
浙大版《C语言程序设计(第3版)》题目集 - 学习笔记 - 编程题 - 习题3-2 高速公路超速处罚
https://
pintia.cn
/problem-sets/12/problems/278习题3-2高速公路超速处罚(15分)按照规定,在高速公路上行使的机动车,达到或超出本车道限速的10%则处200
HenryQWER
·
2020-08-14 18:17
C语言
编程语言
C语言实现:高速公路超速处罚
高速公路超速处罚(PTA|程序设计类实验辅助教学平台https://
pintia.cn
/problem-sets/12/problems/278,C语言实训题)任务描述按照规定,在高速公路上行使的机动车
追梦2017
·
2020-08-14 18:12
高级语言程序设计
团体程序设计天梯赛——L1-044 稳赢
团体程序设计天梯赛——L1-044稳赢https://
pintia.cn
/problem-sets/994805046380707840/problems/994805086365007872大家应该都会玩
NCU_CirclePlan
·
2020-08-14 16:29
团体程序设计天梯赛
团体程序设计天梯赛——L1-016 查验身份证
团体程序设计天梯赛——L1-016查验身份证https://
pintia.cn
/problem-sets/994805046380707840/problems/994805122985476096一个合法的身份证号码由
NCU_CirclePlan
·
2020-08-14 16:57
团体程序设计天梯赛
1019 Separate the Animals (35 分)DFS或BFS搜索+(位运算)状态去重
题目链接:https://
pintia.cn
/problem-sets/994805148990160896/problems/994805149963239424直接暴力搜索每一种障碍的状态,用dfs
usernamezzz
·
2020-08-14 14:16
算法
L1-002 打印沙漏 (20 分)
https://
pintia.cn
/problem-sets/994805046380707840/problems/994805145370476544#includeusingnamespacestd
sicilyw
·
2020-08-14 14:25
pat
无向图的连通集
无向图的连通集题目来源:https://
pintia.cn
/problem-sets/15/problems/714浙大pta由于此图是无向图,所以在查找连通集合的时候,只要通过起始点进行深度优先搜索,
BlackMZ
·
2020-08-14 14:30
练习4.2 平衡二叉树的根 (浙大《数据结构》第2版)
传送门:https://
pintia.cn
/problem-sets/434/problems/6103AC代码:#include#include#include#includeusingnamespacestd
www.sqyoj.club
·
2020-08-14 14:01
7-5 堆中的路径 (25 分)
题目链接:https://
pintia.cn
/problem-sets/15/problems/713题目大意:将一系列给定数字插入一个初始为空的小顶堆H[]。
diaomeijiao3430
·
2020-08-14 13:47
PTA Root of AVL Tree (AVL树学习)
链接https://
pintia.cn
/problem-sets/994805342720868352/problems/994805404939173888AVL树与它的旋转操作这个AVLAVLAVL
*ACoder*
·
2020-08-14 13:53
#
AVL树
1023 Have Fun with Numbers (20 分)
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805478658260992题目大意:给你一个数n,判断n*2之后所得到的数跟数
Gina_h
·
2020-08-14 13:23
PAT甲级
数据结构-2020夏 04-树6 Complete Binary Search Tree (30分)
原题地址https://
pintia.cn
/problem-sets/1268384564738605056/problems/1276814005115539458解题思路听了姥姥讲的小白专场之后做出来的
️kcuL ytnelP
·
2020-08-14 13:50
数据结构是啥啊
数据结构-2020夏 05-树8 File Transfer (25分)
原题地址https://
pintia.cn
/problem-sets/1268384564738605056/problems/1278908289143574529解题思路考查二叉树的应用中的集合运算
️kcuL ytnelP
·
2020-08-14 13:50
小菜鸡的PAT刷题故事
数据结构是啥啊
自测-1 打印沙漏 (20分)
自测-1打印沙漏(20分)2020.7.16https://
pintia.cn
/problem-sets/17/problems/type/7思路分析:可以发现,沙漏的形状从1个字符,分别向上和向下生成
华岩寺扎克伯格
·
2020-08-14 12:31
自主学习-数据结构与算法
算法
从零开始的拼题a生活(拼题a团体程序设计天梯赛--练习集)
简介先自我介绍一下,我是华师17级计算机的学生,学校暑假没作业,闲来无事想着把pintia的天梯赛练习集写完然后再把解题的答案和思路写份blog,题目地址:https://
pintia.cn
/problem-sets
lil_junko
·
2020-08-14 07:33
C++
Python
天梯赛
浙大版《数据结构》习题3.4 最长连续递增子序列(20 分)
题目:https://
pintia.cn
/problem-sets/434/problems/5860给定一个顺序存储的线性表,请设计一个算法查找该线性表中最长的连续递增子序列。
云上明月
·
2020-08-13 17:46
数据结构
1018 Public Bike Management (30 分)【Dijk+dfs】
题目链接:https://
pintia.cn
/problem-sets/994805342720868352/problems/994805489282433024题目大意:有一个公共自行车管理中心PBMC
Gina_h
·
2020-08-13 11:54
PAT甲级
PTA Public Bike Management
链接https://
pintia.cn
/problem-sets/994805342720868352/problems/994805489282433024题解这网站上的题经常说不清楚这题就是从公司出发
*ACoder*
·
2020-08-13 11:41
#
最短路
1002 写出这个数 (20)(20 分) 读入一个自然数n,计算其各位数字之和,用汉语拼音写出和的每一位数字。 输入格式:每个测试输入包含1个测试用例,即给出自然数n的值。这里保证n小于10^10
https://
pintia.cn
/problem-sets/994805260223102976/problems/9948053245092003841002写出这个数(20)(20分)读入一个自然数
LIUJIALING_lala
·
2020-08-12 10:56
经验贴
编程练习
PAT甲级1141PAT Ranking of Institutions
题目链接https://
pintia.cn
/problem-sets/994805342720868352/problems/994805344222429184题解题目要求n个考生,每个考生信息为:ID6
臭咸鱼
·
2020-08-11 14:00
上一页
3
4
5
6
7
8
9
10
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他