自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(73)
  • 收藏
  • 关注

翻译 [机翻·转载]Hands-on Graph Neural Networks with PyTorch & PyTorch Geometric

[机翻·转载]Hands-on Graph Neural Networks with PyTorch & PyTorch GeometricRequirementsPyTorch Geometric BasicsDataDatasetDataLoaderMessagePassingExampleA Real-World Example — RecSys Challenge 2015PreprocessingDataset ConstructionBuild a Graph Neural Networ

2021-11-28 16:36:11 644

原创 Win 10虚拟机软件virtualbox中的ubuntu18.04系统中的uhd及gnuradio软件的安装(2)

Win 10虚拟机软件中的ubuntu18.04系统中的uhd及gnuradio软件的安装。(2)本教程分两篇:1)ubuntu1804虚拟机系统的安装。2)uhd及gnuradio软件的安装(通过编译源码安装)。此为第二篇。先说重点:在安装过程中,由于懵懂无知,都是安装uhd4.0.0.0和gnuradio3.8最新版本,导致gnuradio始终make不通过,因此,在参考Ettus官方提供的安装教程后,我成功安装的版本为uhd3.15.0.0和gnuradio3.7.13.4。Ettus

2020-08-27 01:11:22 559 1

原创 Win 10虚拟机软件virtualbox中的ubuntu18.04系统中的uhd及gnuradio软件的安装

Win 10虚拟机软件中的ubuntu18.04系统中的uhd及gnuradio软件的安装。(1)本教程分两篇:1)ubuntu1804虚拟机系统的安装2)uhd及gnuradio软件的安装先说重点:在安装过程中,由于懵懂无知,都是安装uhd4.0.0.0和gnuradio3.8最新版本,导致gnuradio始终make不通过,因此,在参考Ettus官方提供的安装教程后,我成功安装的版本为uhd3.15.0.0和gnuradio3.7.13.4。Ettus官方教程:https://kb.

2020-08-27 00:47:33 549

原创 texstudio / sublime text 3 - latextools使用minted包遇到的一些问题的解决办法

Tex第一次使用minted时经常会碰到的两个问题:第一个:Package minted Error: You must invoke LaTeX with the -shell-escape flag.第二个:Package minted Error: You must have 'pygmentize' installed to use this package.经常是先出现第一个,解决第一个问题之后,再出现第二个问题。下面分别说一下windows 10中使用TexStudio

2020-07-27 14:14:35 4655 3

原创 Qt Creator c++调用Matlab生成的dll

目录m语言生成dll库在Qt Creator中使用c++库疑问m语言生成dll库1. 首先编写一个简单的m函数test.m并保存% test.mfunction ans = test(x,y) ans = x + y;end2. 在matlab的命令行中输入deploytool并按回车键,选择"Library Compiler"。deploytool...

2019-04-30 17:15:16 4672 12

翻译 多径信道

多径信道多径信道的低通等效特征欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入在...

2019-03-30 21:10:15 9274

原创 Android Studio问题&解决办法集合(不定期更新)

问题1:运行AVD & SDK Manager.exe时找不到android.bat的问题。解答:见链接:http://stackoverflow.com/questions/24949446/android-bat-file-is-missing-in-sdk-tools-folder-also-i-do-not-having-avd-sdk-m

2016-04-13 01:58:51 455

原创 cf 598A Tricky Sum

#include using namespace std;#define LL long longconst LL MAXN=1000000000;LL a[30]={1};LL b[30]={1};int main(){ for(int i=1;i<=30;i++) a[i]=2*a[i-1]; for(int i=1;i<30;i++)

2015-11-15 17:36:29 585

原创 cf 593a 2Char

#include #include using namespace std;int main(){ string s[105]; int n; cin>>n; for(int i=0;i<n;i++) cin>>s[i]; int ans=0,aa; bool flag; for(char i='a';i<='z';i

2015-11-05 12:12:41 389

原创 cf 88b Keyboard

#include #include #include using namespace std;#define del(a,b) memset(a,b,sizeof(a))struct node{ int x,y;}nn[900];int aa[130];bool flag;int n,m,x,q,ans,snum;char kb[33][33];string s;

2015-10-29 14:54:29 460

原创 cf #327 Div.2 Problem B Rebranding

#include #include #include using namespace std;int n,m;char aa[30]={'a'};char s[200005];char *ss[200005];char a,b;int main(){ for(int i=1;i<26;i++) aa[i]=aa[i-1]+1; scanf("%d

2015-10-25 23:30:13 451

原创 cf #327 Div.2 Problem A Wizards' Duel

#include #include using namespace std;int main(){ int l,p,q; scanf("%d%d%d",&l,&p,&q); double ans; ans=(double)l*1.0/(p+q)*p; printf("%lf\n",ans); return 0;}

2015-10-25 23:29:01 357

原创 cf 20a BerOS file system

#include #include using namespace std;int main(){ string s; cin>>s; bool flag=false; int p=s.length()-1; while(s[p]=='/') p--; if(p==-1) s="/"; else

2015-10-25 21:53:06 486

原创 cf 19a World Football Cup

#include #include #include #include using namespace std;struct node{ string na; int points; int scored; int missed; int dif;}nn[55];bool cmp1(const node &n1,const node &n2)

2015-10-25 21:33:18 367

原创 cf 18a Triangle

#include #include #include using namespace std;int dir[4][2]={-1,0,1,0,0,-1,0,1};int x[4],y[4];int a[4];int get(int a1,int b1,int a2,int b2){ return (a1-a2)*(a1-a2)+(b1-b2)*(b1-b2);}int

2015-10-25 20:07:02 328

原创 cf 17a Noldbach problem

#include #include #include using namespace std;#define del(a,b) memset(a,b,sizeof(a))int p[1005];int pn[1005];bool f[1005];int pnum,n,k;bool isp(int x){ if(x==2) return true;

2015-10-25 16:03:28 336

原创 cf 5a Chat Server's Outgoing Traffic

#include #include #include #include using namespace std;char s[105];int num,ans;int main(){ num=0;ans=0; while(gets(s)) { if(s[0]=='+') num++; else if(s

2015-10-25 15:35:56 337

原创 cf 16a Flag

#include #include using namespace std;int f[105][105];int n,m;char c;int main(){ scanf("%d%d",&n,&m); for(int i=0;i<n;i++) for(int j=0;j<m;j++) { cin>>c;

2015-10-25 15:08:35 415

原创 cf 15a Cottage Village

#include #include #include using namespace std;struct node{ double x,a,l,r;}nn[1005];int n;double t;bool cmp(const node &n1,const node &n2){ return n1.x<n2.x;}int main(){ scan

2015-10-25 14:59:33 446

原创 cf 14a Letter

#include #include using namespace std;int main(){ int n,m; char c[55][55]; scanf("%d%d",&n,&m); for(int i=0;i<n;i++) for(int j=0;j<m;j++) cin>>c[i][j]; int

2015-10-25 12:22:48 398

原创 cf 13a Numbers

#include #include using namespace std;int gcd(int a,int b){ int t; if(a<b) { t=a;a=b;b=t; } while(t=a%b) { a=b;b=t; } return b;}int main(){ i

2015-10-25 02:12:08 294

原创 cf 12a Super Agent

#include #include using namespace std;#define LL long long#define ULL unsigned long longint main(){ char m[3][3]; for(int i=0;i<3;i++) for(int j=0;j<3;j++) cin>>m[i][

2015-10-25 01:59:49 385

原创 cf 11a Increasing Sequence

#include #include using namespace std;#define LL long long#define ULL unsigned long longint main(){ int n,d; ULL ans=0; LL b[2005]; scanf("%d%d",&n,&d); for(int i=0;i<n;i++)

2015-10-25 01:51:19 356

原创 cf 10a Power Consumption Calculation

#include #include using namespace std;int main(){ int n,p1,p2,p3,t1,t2,x,y,ans=0; int l[105],r[105]; scanf("%d%d%d%d%d%d",&n,&p1,&p2,&p3,&t1,&t2); for(int i=0;i<n;i++) {

2015-10-25 01:31:23 298

原创 cf 9a Die Roll

#include #include using namespace std;int main(){ int a,b; scanf("%d%d",&a,&b); a=max(a,b); if(a==1) printf("1/1\n"); else if(a==2) printf("5/6\n"); else if

2015-10-25 01:16:32 461

原创 cf 8a Train and Peter

#include #include #include using namespace std;int main(){ string s,s1,s2; bool f1=false,f2=false; cin>>s>>s1>>s2; int a,b; a=s.find(s1); if(a!=std::string::npos) {

2015-10-25 01:07:54 461

原创 cf 7a Kalevitch and Chess

#include #include #include using namespace std;int main(){ char m[8][8]; for(int i=0;i<8;i++) for(int j=0;j<8;j++) cin>>m[i][j]; int ans=0; for(int i=0;i<8;i++

2015-10-25 00:52:21 365

原创 cf 6a Triangle

#include #include #include using namespace std;int main(){ int a[4]; int flag=0; for(int i=0;i<4;i++) scanf("%d",&a[i]); sort(a,a+4); if(a[0]+a[1]>a[2]) flag=1

2015-10-25 00:42:32 352

原创 cf 4a Watermelon

#include #include #include using namespace std;int main(){ int w; scanf("%d",&w); if((w&1)==0&&w>=4) printf("YES\n"); else printf("NO\n");}

2015-10-24 18:47:47 410

原创 cf 3a Shortest path of the king

#include #include #include using namespace std;int main(){ char c1,c2; int x1,x2; cin>>c1>>x1>>c2>>x2; int a=c2-c1,b=x2-x1; int ans=max(abs(a),abs(b)); printf("%d\n",ans);

2015-10-24 18:12:17 310

原创 cf 1a Theatre Square

#include #include using namespace std;int main(){ long long n,m,a,b,c; scanf("%lld%lld%lld",&n,&m,&a); b=(n-1)/a+1; c=(m-1)/a+1; printf("%lld\n",b*c);}

2015-10-24 17:56:04 316

原创 cf 2a Winner

#include #include #include using namespace std;string ss[1005];int x[1005];int main(){ int N; string win; int maxn=0; cin>>N; map M; for(int i=0;i<N;i++) { c

2015-10-24 17:53:06 496

原创 cf 75c Modified GCD

#include #include using namespace std;int gcd(int a,int b){ int t; if(a<b) { t=a;a=b;b=t; } while(t=a%b) { a=b; b=t; } return b;}int main(

2015-10-24 12:09:56 420

原创 cf 55c Pie or die

#include #include using namespace std;int main(){ int n,m,k,x,y; bool flag=false; scanf("%d%d%d",&n,&m,&k); while(k--) { scanf("%d%d",&x,&y); if(!flag)

2015-10-24 12:08:43 412

原创 hdu 2504 又见GCD

#include #include #include #include #define del(a,b) memset(a,b,sizeof(a))using namespace std;int n,a,b,c;int gcd(int a,int b){ while(b!=0) { int r=b; b=a%b; a=

2015-10-13 17:41:02 262

原创 hdu 1215 七夕节

#include #include #include using namespace std;struct node{ int x; int n;}pp[42000];int T,N,ans,tmp;int P[42000];int quick_pow(int x,int n){ if(n==0) return 1; int cn

2015-10-13 16:56:36 240

原创 cf#324 Div.2 Problem D Dima and Lisa

哥德巴赫猜想。。。#include #include #include #include using namespace std;int n,k,p1,p2,p3;bool isp(int x){ if(x==2) return true; else if(!(x&1)) return false; else { double tmp=sqrt(x*1

2015-10-07 17:21:45 360

原创 cf#324 Div.2 Problem C Marina and Vasya

#include #include using namespace std;int n,t,n1,n2,t1,t2,t3,t4;string s1,s2;int main(){ scanf("%d%d",&n,&t); cin>>s1>>s2; for(int i=0;i<n;i++) { if(s1[i]==s2[i]) n1++; } n2=n-n1; if

2015-10-07 17:19:35 503

原创 cf#324 Div.2 Problem B Kolya and Tanya

#include #include using namespace std;#define MOD 1000000007#define LL long longint n;LL fp(LL a,int b){ LL cnt=1; while(b) { if(b&1) cnt=cnt*a%MOD; a=a*

2015-10-07 12:15:51 308

原创 乘法快速幂

long long fast_pow( long long a, long long b, int p ) { long long ans = 1; while( b ) { if ( b & 1 ) //若b当前最右位为1 ans = ans * a % p; a = a * a % p; //(a^(2^k))^2=a^(

2015-10-07 12:07:43 535

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除