
代码
文章平均质量分 66
一箫奈何
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ecnuoj#3039 按整数最高位的值排序
#include #include #include using namespace std; long long a[10001];//待排序整数最大为10^18,故使用long long; int comp(long long a,long long b);//比较函数 int main() { int t,k; int原创 2017-05-21 21:10:59 · 679 阅读 · 0 评论 -
ecnuoj #2975 排序
#include #include #include using namespace std; int a[101]; int comp(int a,int b);//比较函数 int main() { int t,k; int n,i; scanf("%d",&t); for (k=0;k原创 2017-05-21 21:34:12 · 413 阅读 · 0 评论 -
二叉树三种遍历方式代码实现
void first_visit(node *current)//前序遍历 { printf("%d ",current->entry); if (current->left != NULL) first_visit(current->left); if (current->right != NULL) first_visit(current->right); }原创 2017-05-22 13:31:49 · 897 阅读 · 0 评论 -
sql基本操作语句
1、创建表create table table_name( attribute_name_1 data_type [not null], attribute_name_2 data_type, attribute_name_3 data_type, ........... primary key(primary_key), foreign key(foreign_key) references (...原创 2018-03-28 19:17:43 · 495 阅读 · 0 评论 -
C++STL常用数据结构
目录 一、vector 1.构造函数: 2.插入函数: 3.删除函数: 4.查找函数 5.大小函数 6.其他函数 二、stack 三、array 1.声明一个array 2.迭代器函数 3.数组大小函数 4.元素访问函数 5.其他函数 四、list 1.构造函数 2.迭代器 3.容量函数 4.元素访问函数 5.操作函数 五、map 1.构造函数 2.迭...原创 2019-07-18 13:41:18 · 2499 阅读 · 0 评论