2020年9月5日
摘要: 题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1271415149946912770 Given a constant K and a singly linked list L, you are supposed to 阅读全文
posted @ 2020-09-05 21:44 邢涌芝 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1271415149946912769 设计函数分别求两个一元多项式的乘积与和。 输入格式: 输入分2行,每行分别先给出多项式非零项的个数,再以指数递降方式输入一个多项式非 阅读全文
posted @ 2020-09-05 21:42 邢涌芝 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1268385944106778625 Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A con 阅读全文
posted @ 2020-09-05 21:34 邢涌芝 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1268385944106778624 给定K个整数组成的序列{ N​1​​, N​2​​, ..., N​K​​ },“连续子列”被定义为{ N​i​​, N​i+1​​ 阅读全文
posted @ 2020-09-05 21:31 邢涌芝 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题目: https://pintia.cn/problem-sets/1268384564738605056/problems/1276814005115539459题解: https://blog.csdn.net/Dilly__dally/article/details/82025393代码: 阅读全文
posted @ 2020-09-05 21:25 邢涌芝 阅读(119) 评论(0) 推荐(0) 编辑
2020年8月30日
摘要: 题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1271415149946912768 题解:https://blog.csdn.net/wanmeiwushang/article/details/52585327 题解代 阅读全文
posted @ 2020-08-30 23:52 邢涌芝 阅读(169) 评论(0) 推荐(0) 编辑
2020年8月5日
摘要: 题目:https://pintia.cn/problem-sets/1268384564738605056/problems/1268385944106778626 参考:Binary Search in C https://www.programmingsimplified.com/c/sourc 阅读全文
posted @ 2020-08-05 15:12 邢涌芝 阅读(188) 评论(0) 推荐(0) 编辑
2020年8月3日
摘要: 题目:https://pintia.cn/problem-sets/17/problems/264 题解:https://www.liuchuo.net/archives/2019 自解(一次通过,但是代码显得繁琐。关键词:vector的初始化、遍历。): #include <iostream> # 阅读全文
posted @ 2020-08-03 17:29 邢涌芝 阅读(57) 评论(0) 推荐(0) 编辑
2020年7月23日
摘要: 题目:https://pintia.cn/problem-sets/17/problems/262 题解:https://www.liuchuo.net/archives/522 代码: #include <iostream> #include <vector> #include <algorith 阅读全文
posted @ 2020-07-23 15:29 邢涌芝 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 题目:https://pintia.cn/problem-sets/17/problems/263 题解:https://www.liuchuo.net/archives/2151 题解代码: #include <stdio.h> #include <string.h> int book[10]; 阅读全文
posted @ 2020-07-23 15:24 邢涌芝 阅读(72) 评论(0) 推荐(0) 编辑