- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 PAT #A1051 Pop Sequence
#include<iostream>#include<queue>#include<algorithm>using namespace std;const int maxn=1010;struct mouse { int weight, order, rank;}mouse[1010];queue<int> q;int m...
2019-02-22 21:35:59 134
原创 PAT A1006 Sign In and Sign Out
用scanf"%d:%d:%d"里的冒号把时间转换成整数直接比较大小#include <iostream>#include <string>#include<algorithm>using namespace std;struct f{ string ID; int time1, time2;}mem[10010];bool cmp1(f ...
2019-01-29 14:37:31 171
原创 1046 Shortest Distance
第三个测试点怎么都过不了,后来把maxn从10010改成1000010就过了#include<iostream>#include<algorithm>using namespace std;const int maxn = 1000010;int a[maxn], c[maxn] = { 0 };int main() { int n,m, sum = 0...
2019-01-28 19:00:45 105
原创 PAT A 1051 Pop Sequence
每次栈用完记得清空!#include<iostream>#include<stack>#include<algorithm>using namespace std;const int maxn = 1010;int main() { stack<int> s; int m, n, k; cin >> m >&...
2019-01-28 13:04:51 105
原创 PAT A1052 Linked List Sorting
坑有全部无效数据 输出‘0 -1’所有的地址都是5位 “%05d”#include<iostream>#include<cstdio>#include<algorithm>using namespace std;const int maxn = 100010;struct NODE { int key; int next, adre...
2019-01-27 18:38:01 80
原创 PAT A1032 Sharing (25 point(s))
我发现字母根本不用管它,所以结构体只写入了地址#include<iostream>using namespace std;const int maxn = 100010;struct NODE { int next; bool flag; char data; NODE():flag(false){}}node[maxn];int main() { int ...
2019-01-27 17:27:00 143
原创 PAT 1060 Are They Equal?
#include&lt;iostream&gt;#include&lt;string&gt;using namespace std;int n;string deal(string s, int&amp;e) { int k = 0; while (s.length() &gt; 0 &amp;&amp; s[0] == '0') { s.erase(s.begi
2019-01-25 18:12:50 122
原创 使用sra toolkit,hisat2,stringtie进行有参考基因组的拼接
本文以SRR7663112为例,分为以下几步建立工作目录 $ mkdir 221 && cd 221,目录下有五个子目录分别为a)$ mkdir genes ——存放基因注释 *.gffb) $ mkdir genome ——存放完整基因 *.fnac)$ mkdir indexes ——存放索引 *.ht2 和用来抽取索引的extract_exons.py,extract...
2018-11-17 17:49:54 3081
The Linux Command Line 中文版
2018-04-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人