02 2020 档案
摘要:1. Tabular data 不同行间没有顺序,不同列可以是不同的数据类型。(PyTorch中的tensors是homogeneous列同质的,信息在PyTorch中以数字方式存储,典型的是浮点型也有整形。) wine 数据集:https://archive.ics.uci.edu/ml/mach
阅读全文
摘要:mac初学html5使用环境 https://blog.csdn.net/fenfeiqinjian/article/details/50578500 manifest.json文件模版 https://blog.csdn.net/hellodake/article/details/84024148
阅读全文
摘要:#include<iostream> using namespace std; int main() { double w[4],t[4],l[4],tmp[3]; for(int i=0;i<3;i++) cin>>w[i]>>t[i]>>l[i]; double r=0; for(int i=0
阅读全文
摘要:#include <vector> #include<iostream> using namespace std; int main() { int k; cin>>k; int left_index=0,right_index=k-1,sum=-1,tmp=0,tmp_index=0; vecto
阅读全文
摘要:#include <stdio.h> #include<iostream> using namespace std; struct ID { char id_num[16]; int begin; int end; }; int main() { int m,H,M,S; struct ID unl
阅读全文
摘要:#include <vector> #include <string.h> #include <iostream> using namespace std; int main() { int sum=0,j=0; char n[101]; char a[11][6]={"zero","one","t
阅读全文
摘要://dfs模版 #include <vector> #include <iostream> using namespace std; struct node { vector<int>children; }t[101]; int ithLevel[101];//保存第i层叶子结点的数目 int ma
阅读全文
摘要://Dijkstra算法,模版 #include <algorithm> #include <iostream> using namespace std; int main() { int n,m,C1,C2,c1,c2; int weight[501],dis[501],num[501],w[50
阅读全文
摘要:#include <math.h> #include <stdio.h> #include <iostream> using namespace std; int main() { int k1,k2,n,max_n=0,c=0; double an; double poly[1001]={0};
阅读全文
摘要:#include <math.h> #include <vector> #include <stdio.h> #include <iostream> using namespace std; int main() { int a,b,c,w=0; vector <int> v; cin>>a>>b;
阅读全文
摘要:#include <math.h> #include <vector> #include <iostream> using namespace std; int main() { int n; cin>>n; vector <int> say(n+1); for(int i=1;i<=n;i++)
阅读全文
摘要:#include <math.h> #include <iostream> using namespace std; int main() { int m,x,y,a,b=0,tmp1,tmp2; double c,tmp3,tmp4; cin>>m>>x>>y; for(a=99;a>=10;a-
阅读全文
摘要:#include <iostream> using namespace std; int main() { int result[100005]={0}; int n,r,count=0; cin>>n; for(int i=1;i<=n;i++) { r=i/2+i/3+i/5; if(resul
阅读全文
摘要:#include <iostream> using namespace std; int main() { int a,b,c,d,w=0; cin>>a>>b; c=a*b; if(c==0) { cout<<"0"; return 0; } do { d=c%10; if((w==0&&d!=0
阅读全文
摘要:#include <math.h> #include <string.h> #include <iostream> using namespace std; bool isPrime(long int num) { if(num==0||num==1) return false; for(int i
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; int main() { char a[1000005],b[1000005],c[127]={0}; fgets(a,1000005,stdin); fgets(b,10000
阅读全文
摘要:#include <iostream> using namespace std; int main() { int n,m; int sale[1005]={0},s,w=0; cin>>n>>m; for(int i=1;i<=m;i++) { for(int j=1;j<=n;j++) { ci
阅读全文
摘要:#include <iostream> using namespace std; int main() { int m,k,r,i; cin>>m; for(int j=0;j<m;j++) { cin>>k; for(i=1;i<10;i++) { r=i*k*k; if((k<10&&(r-k)
阅读全文
摘要:#include <math.h> #include <stdio.h> int main() { double r1,p1,r2,p2,g1,g2; scanf("%lf %lf %lf %lf",&r1,&p1,&r2,&p2); g1=r1*r2*cos(p1)*cos(p2)-r1*r2*s
阅读全文
摘要:#include <iostream> using namespace std; #include <stdio.h> int main() { int n,tno,tsno,grade,max=0,max_i=1; int t_g[1005]={0}; scanf("%d",&n); for(in
阅读全文
摘要:#include <iostream> using namespace std; int main() { int n,a=0,b=0,x1,x2,y1,y2; cin>>n; for(int i=0;i<n;i++) { cin>>x1>>x2>>y1>>y2; if(x2!=y2) { if(x
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; int main() { char str[10005]; int c_p=0,c_a=0,c_T=0,c_e=0,c_s=0,c_t=0; cin>>str; for(int
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; int main() { char str[1005]; int big[27]={0}; int max=0; char max_s; fgets(str,1005,stdin
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; struct STU { char stu_no[18]; int test_seat; int seat; }; int main() { int n,m; struct ST
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; int main() { long int num=1000000007,count=0,count_p=0,count_t=0; char * str=new char[100
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; int main() { char sell[1005],want[1005]; int s[1005]={0}; int j,n=0; cin>>sell>>want; for
阅读全文
摘要:#include <iostream> using namespace std; int main() { int n,k,g; int grade[101]={0}; cin>>n; int *k_grade=new int[100005];//稍微大一点 for(int i=0;i<n;i++)
阅读全文
摘要:#include <stdio.h> int main() { int g1,s1,k1,g2,s2,k2,g,s,k,g3,g4,s3,s4,k3,k4; scanf("%d.%d.%d %d.%d.%d",&g1,&s1,&k1,&g2,&s2,&k2); g3=g1;g4=g2;s3=s1;s
阅读全文
摘要:#include <iostream> using namespace std; int main() { int n,t; char c; cin>>n>>c; for(int i=0;i<n;i++) cout<<c; t=n/2+n%2;//计算行数 for(int i=0;i<t-2;i++
阅读全文
摘要:#include <string.h> #include <iostream> using namespace std; int main() { char damage[70]; char *word=new char[100005];//不超过10^5 //char word[10005];一开
阅读全文
摘要:#include <iostream> using namespace std; int main() { int n,num,g,max_g=0,max_i=0; int grade[100005]={0};//参赛学校编号小于10^5(最后一个测试样例) cin>>n; for(int i=1;
阅读全文
摘要:#include <iostream> using namespace std; int main() { char M[12]={'1','0','X','9','8','7','6','5','4','3','2'}; char ID[19]; int w[19]={7,9,10,5,8,4,2
阅读全文

浙公网安备 33010602011771号