上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 186 下一页
摘要: #include <stdio.h> int bh(int s,int a) { while(s) { if(s%10==a) return 1; s=s/10; } return 0; } main() { int sum=0,a,b,c; for(a=1;a<=1000;a++) if(bh(a 阅读全文
posted @ 2022-01-07 15:44 myrj 阅读(217) 评论(0) 推荐(0)
摘要: 替换字符串中?后面所有的字符 >>> ab="asfasfasfasdf?asfasdfasfasd" >>> ac=ab.split("?",1)[0] >>> ac 'asfasfasfasdf' >>> https://mp.weixin.qq.com/s/W-lc8T9ZSh-GOYRoZo 阅读全文
posted @ 2021-12-30 20:36 myrj 阅读(618) 评论(0) 推荐(0)
摘要: //一只小猴子一天摘了许多桃子,第一天吃了一半,然后忍不住又吃了一个;第二天又吃了一半,再加上一个; //后面每天都是这样吃。到第10天的时候,小猴子发现只有一个桃子了。问小猴子第一天共摘了多少个桃子。 #include<stdio.h> int main() { int i = 1; int j 阅读全文
posted @ 2021-12-24 08:35 myrj 阅读(72) 评论(0) 推荐(0)
摘要: pid = GetWeChatPID('WeChat.exe')app = Application(backend='uia').connect(process=pid)# 拿到微信主窗口win_main_Dialog = app.window(class_name='WeChatMainWndFo 阅读全文
posted @ 2021-12-22 14:11 myrj 阅读(236) 评论(0) 推荐(0)
摘要: python3安装win32api先安装pip install pywin32再安装python -m pip install pypiwin32 阅读全文
posted @ 2021-12-21 13:52 myrj 阅读(1389) 评论(0) 推荐(0)
摘要: import time,sys import psutil from pywinauto.application import Application from time import sleep from pywinauto import mouse from pywinauto.keyboard 阅读全文
posted @ 2021-12-19 13:48 myrj 阅读(139) 评论(0) 推荐(0)
摘要: 下载地址:Downloads (mitmproxy.org) 控制面板:网络 代理 手动设置 开 127.0.0.1 8080 选择:请勿将代理服务器用于本地(intranet)地址浏览器打开http://mitm.it/ WIN10下载证书 安装时提示密码 为空,下一步,位置选择“受信任的根证书颁 阅读全文
posted @ 2021-12-19 06:38 myrj 阅读(606) 评论(0) 推荐(0)
摘要: #include <stdio.h> int main() { int arr[] = { 22, 34, 3, 32, 33,22,33,33,22,82, 55, 89, 50, 37, 5, 64, 35, 9, 70 }; int len = (int) sizeof(arr) / size 阅读全文
posted @ 2021-12-17 21:06 myrj 阅读(751) 评论(0) 推荐(0)
摘要: #include <stdio.h> int main() { int arr[] = { 22, 34, 3, 32, 82, 55, 89, 50, 37, 5, 64, 35, 9, 70 }; int len = (int) sizeof(arr) / sizeof(*arr); print 阅读全文
posted @ 2021-12-17 20:52 myrj 阅读(781) 评论(0) 推荐(0)
摘要: #include <stdio.h> #define N 10 main() { int shu[N][N]={0},a,b,c; for(a=0;a<N;a++) { for(c=N-1-a;c>=0;c=c-1) printf(" ") ; for(b=0;b<=a;b++) { shu[a][ 阅读全文
posted @ 2021-12-17 16:27 myrj 阅读(885) 评论(0) 推荐(0)
上一页 1 ··· 113 114 115 116 117 118 119 120 121 ··· 186 下一页