- 博客(13)
- 资源 (20)
- 收藏
- 关注
原创 1076 Forwards on Weibo (30分)
1076Forwards on Weibo(30分)Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed wit...
2020-01-29 22:03:27 161
原创 1067 Sort with Swap(0, i) (25分)
1067Sort with Swap(0, i)(25分)Given any permutation of the numbers {0, 1, 2,...,N−1}, it is easy to sort them in increasing order. But what ifSwap(0, *)is the ONLY operation that is allowed to u...
2020-01-19 19:43:01 139
原创 1065 A+B and C (64bit) (20分)
Given three integersA,BandCin [−263,263], you are supposed to tell whetherA+B>C.Input Specification:The first line of the input gives the positive number of test cases,T(≤10). The...
2020-01-19 18:00:28 147
原创 1047 Student List for Course (25分)
Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to output the student name lists of all the courses.Inpu...
2020-01-15 09:31:05 139
原创 最长不下降子序列
最长不下降子序列解法第一种就是普通的dp方法for(int i=1;i<=n;i++){ cin>>a[i]; // dp[i]=1; } // dp[0]=-1; for(int i=1;i<=n;i++){d[i] = 1; for(int j=1;j<i;j++){ ...
2020-01-15 08:54:37 121
原创 1032 Sharing (25分)
To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same sublist if they share the same suffix. For example,...
2020-01-12 13:56:21 157
原创 1028 List Sorting (25分)
Excel can sort records according to any column. Now you are supposed to imitate this function.Input Specification:Each input file contains one test case. For each case, the first line contains two...
2020-01-11 12:21:03 87
原创 1016 Phone Bills (25分)
A long-distance telephone company charges its customers by the following rules:Making a long-distance call costs a certain amount per minute, depending on the time of day when the call is made. When...
2020-01-07 20:01:43 166
原创 1014 Waiting in Line (30分)
1014Waiting in Line(30分)Suppose a bank hasNwindows open for service. There is a yellow line in front of the windows which devides the waiting area into two parts. The rules for the customers to ...
2020-01-07 10:27:15 86
原创 Battle Over Cities(dfs)
1013Battle Over Cities(25分)It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We ...
2020-01-06 21:50:27 116
原创 centos安装源
centos安装源https://www.jianshu.com/p/fba41e28eef3https://www.cnblogs.com/imxiangbei/p/8872507.html
2020-01-06 20:04:14 136
原创 vector学习
#include<iostream>#include<vector>#include<algorithm>#include<cstdio>#include<cstring>#include<cstdlib>#include<map>#include<stack>#include<...
2020-01-06 19:02:13 105
原创 openstack 部分命令
## 查看当前的项目openstack project list## 查看当前的目录openstack catalog list## 查看agent服务openstack volume service list [o了](问题所在命令 ) cinder service-list## 查看当前 端点openstack endpoint list | grep cinder/...
2020-01-03 08:37:43 97
bank.rar,简单的ssm搭建使用。内部包含了相关的包.
2019-05-11
angulardemo1-8src代码
2019-04-23
ssh框架整合jar包
2018-07-09
servlet+jsp添加管理员功能
2018-07-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人