
数据结构
奋笔扬声
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
多项式
多项式加法和乘法#include<bits/stdc++.h>typedef struct node* ptr;struct node{ int ex; int coef; ptr next;};//用链表存多项式ptr p1,p2;ptr read(void)//读入多项式{ ptr p; int n; scanf("%d",&n); p=(ptr...原创 2019-03-10 22:36:26 · 226 阅读 · 0 评论 -
一些实用小程序
1. 测验程序运行时间#include&lt;stdio.h&gt;#include&lt;time.h&gt;#define MAX 1e6 clock_t start,stop;double duration; int main(){ start=clock(); f(); stop=clock(); duration=(double)(stop-start)/C...原创 2019-03-08 22:16:16 · 422 阅读 · 0 评论