差不多看了十本书和无数篇论文了吧。大概搞頭那些“文人”在干什么了。
最最最最有趣的是晚明党争那段。腹背受敌,创业未半却又有背后捅刀子。在一个实事求是的时代真好。
差不多看了十本书和无数篇论文了吧。大概搞頭那些“文人”在干什么了。
最最最最有趣的是晚明党争那段。腹背受敌,创业未半却又有背后捅刀子。在一个实事求是的时代真好。
无人机跑步。
不管怎样记录一下这个分形有多美
matlab代码实现如下:
x0=abs(sin(randn));
r=0:0.001:4;
xn=x0;
for i=1:150
xn=r.xn.(1-xn);
end
for i=1:200
xn=r.xn.(1-xn);
plot(r,xn,'k');
hold on
end
大概之后会补个mathematica的。反正学校有免费资源,为何不好好利用呢?
分析一下这次的物理作业。主要由玻尔兹曼分布和简单的概率运算组成。大概是知道了费曼随机行走在<mv2>中的应用。爱因斯坦用这鬼东西测出了玻尔兹曼常数,约莫着也是看到这个经典的东西。统计是个神奇的东西,现在还未能窥完全豹,CS仍会碰到吧。
Actually, first of all, I should make use of my Tencent Server. Besides, I will make use of other functions like OSS.
Then I would push some life with my girl friend— My lover Bazinga.
Since I’ve seen the film social network
, I would make full use of the blog to witness every drop of my life, like f*ck people with decent words to let them angry.
I’m a MtF, English Exam Taker, Expired Photographer and a To-Be Tech Nerd at ShanghaiTech.
平平无奇的读入题
#include <iostream>
using namespace std;
int height[20],H,s;
int main()
{
for(int i=0;i<10;i++)cin >> height[i];
cin >> H;
H += 30;
for(int i=0;i<10;i++)s+=!(H<height[i]);
cout << s;
}
水题
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#include<deque>
using namespace std;
const int inf = 1e5 + 5;
int n, s[inf],cnt;
deque<int> q;
int main()
{
scanf("%d", &n);
for (int i = 1; i <= n; i++)scanf("%d", &s[i]);
sort(s, s + n + 1);
for(int i=n;i>=1;i--)
{
if(cnt)q.push_front(s[i]),cnt^=1;
else q.push_back(s[i]),cnt^=1;
}
cnt=0;
deque<int>::iterator it;
for(it=q.begin();it!=q.end();it++)
s[++cnt]= *it ;
for(int i=2;i<=n-1;i++)
if(s[i-1]+s[i+1]<=s[i]){cout<<"NO";return 0;}
if(s[n-1]+s[1]<=s[n]){cout<<"NO";return 0;}
cout<<"YES"<<endl;
for (int i = 1; i <= n; i++)cout << s[i] << " ";
return 0;
}