摘要: 1 /* 2 Name: 对二维数组使用指针进行操作的探索 3 Copyright: 4 Author: lingr7 5 Date: 01/12/18 11:55 6 Description: 7 */ 8 #include 9 int main() { 10 11 int a[2][3] = {{1,2,3},{4,5... 阅读全文
posted @ 2018-12-01 11:58 lingr7 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 统计C语言关键字出现次数 《C程序设计语言》K&R版本第6章结构6.3结构数组内容 阅读全文
posted @ 2018-10-21 10:16 lingr7 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: 三次样条插值matlab实现 %三次样条差值-matlab通用程序 - zhangxiaolu2015的专栏 - CSDN博客 https://blog.csdn.net/zhangxiaolu2015/article/details/42744823 %【图文】三次样条插值算法详解_百度文库 ht 阅读全文
posted @ 2018-10-12 20:17 lingr7 阅读(28102) 评论(3) 推荐(4) 编辑
摘要: 在9月11日上午编写成的。 阅读全文
posted @ 2018-09-13 10:25 lingr7 阅读(595) 评论(0) 推荐(0) 编辑
摘要: B1020 月饼(25 分) 月饼是中国人在中秋佳节时吃的一种传统食品,不同地区有许多不同风味的月饼。现给定所有种类月饼的库存量、总售价、以及市场的最大需求量,请你计算可以获得的最大收益是多少。 注意:销售时允许取出一部分库存。样例给出的情形是这样的:假如我们有 3 种月饼,其库存量分别为 18、1 阅读全文
posted @ 2018-08-27 22:17 lingr7 阅读(362) 评论(1) 推荐(0) 编辑
摘要: 分组统计 问题 B: 分组统计时间限制: 1 Sec 内存限制: 32 MB 提交: 416 解决: 107 "[提交" ] "[状态" ] "[讨论版" ][命题人:外部导入] 题目描述 先输入一组数,然后输入其分组,按照分组统计出现次数并输出,参见样例。 输入 输入第一行表示样例数m,对于每个样 阅读全文
posted @ 2018-08-26 09:50 lingr7 阅读(1170) 评论(0) 推荐(1) 编辑
摘要: 谁是你的潜在朋友 问题 A: 谁是你的潜在朋友时间限制: 1 Sec 内存限制: 32 MB 提交: 950 解决: 310 "[提交" ] "[状态" ] "[讨论版" ][命题人:外部导入] 题目描述 ​ “臭味相投”——这是我们描述朋友时喜欢用的词汇。两个人是朋友通常意味着他们存在着许多共同的 阅读全文
posted @ 2018-08-18 22:16 lingr7 阅读(502) 评论(1) 推荐(0) 编辑
摘要: A1095 Cars on Campus (30)(30 分) Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate nu 阅读全文
posted @ 2018-08-18 18:30 lingr7 阅读(203) 评论(0) 推荐(0) 编辑
摘要: A1083 List Grades (25)(25 分) Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade 阅读全文
posted @ 2018-08-17 10:43 lingr7 阅读(171) 评论(0) 推荐(0) 编辑
摘要: A1075 PAT Judge (25)(25 分) The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are suppose 阅读全文
posted @ 2018-08-17 10:40 lingr7 阅读(425) 评论(0) 推荐(1) 编辑