摘要: function sim_zhongzi n=input('中子个数:');%中子个数 xx=[]; yy=[]; N=10;%每个中子最多碰撞次数 d=2; D=3*d; H=10*10; c=zeros(1,3); x=zeros(1,n); y=H*rand(1,n)/10; %中子运动 fo 阅读全文
posted @ 2022-02-06 18:18 A1han 阅读(113) 评论(0) 推荐(0)
摘要: 需要字典序较小 比较前后两端的字符:如果出现两个字符相同,那么就要顺移一位去比较附近的一位字符。 #include <iostream> #include<cstdlib> #include<cstdio> #include<stack> #include<algorithm> #include<c 阅读全文
posted @ 2022-02-06 13:20 A1han 阅读(32) 评论(0) 推荐(0)