上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 188 下一页
摘要: import urllib3urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) #忽略警告 aa=requests.post(url,headers=head1,data=ap1,verify=False) 阅读全文
posted @ 2023-01-26 22:52 myrj 阅读(388) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> int fh(char ab[]) { int len=strlen(ab),a=0; for(a=0;a<=len;a++) if(ab[a]!=ab[len-a-1]) return 0; return 1; } ma 阅读全文
posted @ 2023-01-26 10:26 myrj 阅读(271) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> main() { char zf[7],zfa[7]; int a=0,b=0,c=0,len1,len2; gets(zf); gets(zfa); len1=strlen(zf),len2=strlen(zfa); w 阅读全文
posted @ 2023-01-26 10:16 myrj 阅读(271) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <string.h> main() { char ch[100]; int i=0,n=0; gets(ch); while(ch[i]!='\0') { if(i==0) { if(ch[i]>='a'&& ch[i]<='z') ch[i] 阅读全文
posted @ 2023-01-26 08:06 myrj 阅读(186) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<string.h> #include <stdlib.h> //利用<string.h>中的strtok函数,缺点就是异常复杂,但是优点就是可以用各种字符来分割输入的字符串 int main(){ char num[100000];//定义字符串 阅读全文
posted @ 2023-01-26 07:39 myrj 阅读(1093) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { struct sk{ int a;float b; }data,*p; p=&data; data.a=10; printf("%d\n",(*p).a); printf("%d\n",p->a); getchar(); } #include 阅读全文
posted @ 2023-01-24 19:38 myrj 阅读(38) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { char a[3][10]={"beijing","shanghai","tianjin"},*pa=a[0]; printf("%s\n",*(a+1)); printf("%s\n",a+1); printf("%s\n",*a+1); p 阅读全文
posted @ 2023-01-24 09:06 myrj 阅读(126) 评论(0) 推荐(0)
摘要: #include <stdio.h> int sx(int n) { int a; for(a=2;a<n;a++) if(n%a==0) return 0; return 1; } void sxa(int b) { int c=1,a=b; while(c<=5) { a=a+1; if(sx( 阅读全文
posted @ 2023-01-22 21:22 myrj 阅读(98) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { int n,a[10]={0}; scanf("%d",&n); while(n>0&&n<=99) { if(n>0 && n<=10) a[(n-1)/10]++; else a[n/10]++; scanf("%d",&n); } for 阅读全文
posted @ 2023-01-22 21:09 myrj 阅读(61) 评论(0) 推荐(0)
摘要: #include <stdio.h> main() { int i,n,s; s=0; scanf("%d",&n); for(i=1;i<n;i++) if(n%i==0) s=s+i; if(s==n) printf("%d是完数",n); else printf("%d不是完数",n); ge 阅读全文
posted @ 2023-01-22 14:03 myrj 阅读(323) 评论(0) 推荐(0)
上一页 1 ··· 77 78 79 80 81 82 83 84 85 ··· 188 下一页