上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 180 下一页
摘要: local sj=subinstr(subinstr("`c(current_time)'",":","",.)," ","",.) local wjma="`sj'" set seed `wjma' clear local shu= int(100*runiform() ) // local xm 阅读全文
posted @ 2023-03-08 07:46 myrj 阅读(36) 评论(0) 推荐(0) 编辑
摘要: local sj=subinstr(subinstr("`c(current_time)'",":","",.)," ","",.) local wjma="`sj'" set seed `wjma' clear local shu= int(100*runiform() ) // local xm 阅读全文
posted @ 2023-03-07 21:06 myrj 阅读(29) 评论(0) 推荐(0) 编辑
摘要: // plural(n,s) // // 用法:为字符串加s变为复数,当n的取值不是+/-1时,就在s后添加后缀"s";当n的取值是+/-1时,就在s后不加后缀"s" //n为1,不加s . disp plural(1,"banana") banana //n为2,加s . disp plural( 阅读全文
posted @ 2023-03-07 20:59 myrj 阅读(59) 评论(0) 推荐(0) 编辑
摘要: indexnot函数分析与详例解析 //indexnot(s1,s2)以单个字符判断为依据,结果是在s1中的位置表示; //indexnot(s1,s2) 返回s1中第一个在s2中找不到的字母的位置,若s1所有的字母在s2中均可以找到,则返回0 //字符a在第二个串中包含,而b不包含,b的位置是2, 阅读全文
posted @ 2023-03-07 20:03 myrj 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Python 调用 js 文件,报 execjs._exceptions.ProgramError: SyntaxError: 缺少 ';' 错误 原因:execjs 默认使用了windows的JScript 引擎导致的,我们可以在python命令行中查看 import execjs execjs. 阅读全文
posted @ 2023-03-07 09:21 myrj 阅读(4662) 评论(0) 推荐(0) 编辑
摘要: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyexecjs import execjs 阅读全文
posted @ 2023-03-07 06:55 myrj 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1.打开闲鱼,设置 2.“全局自动回复设置” 3.设置相应的信息 4.“开启所有宝贝自动回复 阅读全文
posted @ 2023-03-06 20:45 myrj 阅读(513) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> //编写一个程序,输入一个整数n,判断其是否为完数 //如果一个数等于它的因子之和,则称该数为完数或完全数 //例如6=1+2+3,因此6是完数 main() { int i,n,s; s=1; printf("请输入一个整数:"); scanf("%d",&n 阅读全文
posted @ 2023-03-06 20:34 myrj 阅读(816) 评论(0) 推荐(0) 编辑
摘要: transformers Hugging Face点击Create new secret key按钮即可。API Key目前都是以sk-开头的。要注意的是,创建后应该立即复制并妥善保存API Key。因为OpenAI为了保证API Key的安全,只在创建API Key时才会完整显示API Key,如 阅读全文
posted @ 2023-03-06 19:49 myrj 阅读(565) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> //用固定位置的数与其他数比较 main() { int a[10]={88,2,3,4,5,6,100,33,58,0},i,j,t,c; for(i=0;i<10;i++) for(j=i+1;j<10;j++) if(a[i]>a[j]) { t=a[j]; 阅读全文
posted @ 2023-03-06 14:18 myrj 阅读(24) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 180 下一页