today i was sweared by ex-classmate
She feels unhappy for her weibo account having been found by me. So i want to register another tumblr account to express my unhappyness.
KIROKAZE
NASA

Love Begins
The Stonewall Inn
d e v o n

tannertan36

titsay

PR's Tumblrdome
Aqua Utopia|海の底で記憶を紡ぐ
The Bright Sessions
sheepfilms
art blog(derogatory)
noise dept.
Color Me Curious
almost home
Cosimo Galluzzi
𓃗

blake kathryn
I'd rather be in outer space 🛸
One Nice Bug Per Day
seen from United States
seen from Germany
seen from United States
seen from United States

seen from United States

seen from United States

seen from Germany
seen from Brazil

seen from United States
seen from United States

seen from United States
seen from Indonesia
seen from United States

seen from United States

seen from Bangladesh
seen from Australia
seen from Uruguay

seen from Ukraine

seen from United States

seen from Türkiye
@bio-acshaw-xyh
today i was sweared by ex-classmate
She feels unhappy for her weibo account having been found by me. So i want to register another tumblr account to express my unhappyness.
Sooooooooo many cats! Miiii!
It's sooooooooooo cute!
Goodbye! NOIp!
Goodbye! NOIp!
再见了 NOIp!
今天比完了NOIp比赛 应当来讲这个结果是必然的 毕竟没有在NOIp上花特别多的时间 所以考完了该怎么样就怎么样吧 只要不像上次那样失误弄了个什么奇奇怪怪的分数就好了 在NOIp培训的时候也和一些同学交流了一些除编程其他领域的东西 也是很开心的 不在乎那些得失 一起奋斗过就好:)代码模板待我整理一番再发
下次参加什么比赛啊还是要花时间 既然努力了就应该有所回报 不能花了时间在这个时间段里又不好好训练 那就是浪费 有什么后果呢也是应当的
之后的时间就要放到生物奥赛和学科补差上面了 自从进了理科来我的数学就没及过格啊= = so sad I am.
从此我要从一个OIer变成BIOer了 写这篇退役报告也是为了纪念并鼓励自己吧!这篇不想翻译了 就没有英文班的了~~
再见!NOIp!善始善终!
Eve of NOIp2015
NOIp2015前夜
Eve of NOIp2015
这是可能是我最后一次接触NOIp竞赛了,之后的时间编程将会是我的一种休息时的爱好,但并不会再参加比赛了。 It could be my last time I take part in NOIp games.Programming will be one of my hobbies,but I might not join NOIp any more.
NOIp比赛前夕,我将我刚刚写一点点代码贡献如下。因为本人水平有限,有些代码不甚优化,也请谅解。毕竟我只是个业余Oier,生物才是我的领域。 In the eve of NOIp,I post my codes writen just now.Due to my lower standard,some codes are not opitmised very well.Please excuse me.I'm just a amateurish Oier,and Biology is my area.
#include #include #include #include #include #include #include #include #include #include #include #include<map name="name" id="name"><div> using namespace std; const int INF=0xfff,MAXN=10000; int PRIME[MAXN]={0},QUAD[MAXN]={0}; typedef long long int LL; int TOP[MAXN][MAXN]; inline int gcd(int a,int b){ //Use Euclidean Algorithm to figure out the Greatest Common Divisor(GCD). //用欧几里得算法求出最大公约数 if(!b) return a; else return gcd(b,a%b); } inline int lcm(int a,int b){ //Figure out the Least Common Multiple(LCM). //求出最小公倍数 return a/gcd(a,b)*b; } inline int kgcd(int &x,int &y,int &d,int a,int b){ //Expand Euclidean Algorithm //I cannot use it very well. //拓展欧几里得 //我不太会用 if(!b) { d=a;x=1;y=0;return a; } else { return kgcd(y,x,d,b,a%b); y-=x*a/b; } } inline int POM(int a,int b,int c){ //Fast Power Modulus //快速幂取模 int ans=1; while(b>0){ if(b%2==1) ans=(ans*a)%c; b=b/2; a=(a*a)%c; } return ans; } inline int LIS(int a[],int len,int *t){ //Get the length of the Longest Increase Sequence and return one of them. //求最长上升子序列长度,返回其中一条子序列 int r[MAXN],tot=-1,d[MAXN]; r[0]=1; for(int i=0;im) tot=j; m=max(m,r[j]); } r[i]=m+1; d[i]=tot; } int ans=0; for(int i=0;ians) tot=i; ans=max(ans,r[i]); } for(int i=ans-1;i>=0;i--){ t[i]=a[tot]; tot=d[tot]; } return ans; } inline int LDS(int a[],int len){ //Figure out the length of the Longest Decline Sequence //求出最长下降子序列长度 int r[MAXN]; r[0]=1; for(int i=0;ia[i]) // If it requires not rise, add '=' // 如果是不升 加上 = 号 m=max(m,r[j]); r[i]=m+1; } int ans=0; for(int i=0;iv[i-1][j]){ v[i][j]=v[i][j-1]; b[i][j]=2; } else if(v[i][j-1]=n) QUAD[j]=1; } return; } inline bool Is_prime(int num){ //Return true: Prime ,or not//num have to be smaller than m //返回真为素数 否则为合数//num必须比m小 if(PRIME[num]==0) return true; else return false; } inline bool Is_quadrat(int num,int n,int m){ //Return false: Quadrat-free,or not//num have to be in [n,m] //返回假为无平方因子数,否则不是//num必须在[n,m]区间内 if(QUAD[num-n]==0) return true; else return false; } inline int Num_prime(int n,int m){ //Figure out the number of the primes in [n,m] //求出在[n,m]区间里的素数个数 int ans=0; for(int i=n;i<=m;i++) if(PRIME[i]==0) ans++; return ans; } inline int Num_quadrat(int n,int m){ //Figure out the number of the quadrat-free numbers in [n,m] //求出在[n,m]区间里的无平方因子数个数 int ans=0; for(int i=0;i<=m-n;i++) if(QUAD[i]==0) ans++; return ans; } int main(){ //std::ios::sync_with_stdio(false); freopen("filename.in","r",stdin); freopen("filename.out","w",stdout); //The main fuction examine input and output //主函数检验输入输出 int a[MAXN],l,ans,t[MAXN]; //Longest Rise Sequence scanf("%d",&l); for(int i=0;i<l;i++) scanf("%d",&a[i]); ans=LIS(a,l,t); printf("LIS: %d\n",ans); for(int i=0;i<ans;i++) printf("%d ",t[i]); //Longest Decline Sequence ans=LDS(a,l); printf("\nLDS: %d\n",ans); // int K,M,C; scanf("%d%d%d",&K,&M,&C); ans=POM(K,M,C); printf("POM: %d\n",ans); ans=gcd(K,M); printf("GCD: %d\n",ans); ans=lcm(K,M); printf("LCM: %d\n",ans); char Q[MAXN]={' '},W[MAXN]={' '}; scanf("%s",Q+1); scanf("%s",W+1); ans=LCS(Q,W); printf("LCS: %d\n",ans); int Begin,End; scanf("%d%d",&Begin,&End); Eno(Begin,End); ans=Num_prime(Begin,End); printf("Num_Prime: %d\n",ans); ans=Num_quadrat(Begin,End); printf("Num_Quadrat: %d\n",ans); fclose(stdin); fclose(stdout); return 0; } </div></map>
The First day I start using Tumblr Blog
今天是我使用Tumblr Blog的第一天
The First day I start using Tumblr Blog
文 Writen by/肖彦荷 Christine Shaw
这个博客BACS被创建的动机,是我希望能有一个简洁的博客,来存放一些我对于某些学科的思考。同时它还会被我放上一些有关我兴趣的帖子、我对一些现象的评论。当我看到一些个人比较感兴趣或有用的其他出处帖子,我也会 安利 转载给大家。
我会尝试学习markdown来给文章添加更多 特技 特效!在这里提及以勉励自己。
又及: 由于本人英语水平有限,一些文章并不会有英文版本,不过我会努力提高的;-)
The intention of creating this blog, BACS, is that I hoped I could have a telegraphic blog to store some opinion on some subject. At the same time, it will be put on some posts about my interests, some comments on the phenomena around us. If I find some posts from other sources, which interest me very well or are useful, I will also repost it to you.
I will try to learn Markdown to add more special efficacy! Mentioned here to encourage myself.
PS: Because of my poor English, some articles don’t have English versions, but I will try my best to improve it. ;-)