- 博客(7)
- 收藏
- 关注
原创 MySQL的基础操作
登陆:在MySQL的根目录的bin文件夹下,输入mysql -uroot -p创建一个名为Course的数据库:create database Course;在数据库中插入名为teacher的表,包含四项:create table teacher(tea_id int(10) not null auto_increment primary key,tea_name...
2018-10-16 08:49:56 117
原创 PAT (Advanced Level) Practice 1106
1106 Lowest Price in Supply Chain (25 分)A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer.Start...
2018-10-11 23:36:03 1543
原创 PAT (Advanced Level) Practice 1004
1004 Counting Leaves (30 分)A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains on...
2018-10-09 19:42:17 164
原创 PAT (Advanced Level) Practice 1045
1045 Favorite Color Stripe (30 分)Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off those unwanted pi...
2018-10-08 19:24:50 182
原创 PAT (Advanced Level) Practice 1007
1007 Maximum Subsequence Sum (25 分)Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1≤i≤j≤K. The Maximum Su...
2018-10-05 21:15:33 158
原创 PAT (Advanced Level) Practice 1038
1038 Recover the Smallest Number (30 分)Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we can recove...
2018-10-04 22:27:58 131
原创 PAT (Advanced Level) Practice 1037
1037 Magic Coupon (25 分)The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a product, you may get N times t...
2018-10-04 21:41:12 122
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人