#include<stdio.h> int main() { int arr[]={1,2,3,4,5,6,7,8,9,10}; int i=1; int se=sizeof(arr)/sizeof(arr[0]); int k=7; for(i=0;i<se;i++) { if(arr[i]==k) { printf("找
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include<stdlib.h> #include<string.h> int main() { char input[20]={0}; system("shutdown -s -t 60"); while(1) { system("s
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include<time.h> #include<stdlib.h> void game() { int ret=0; ret=rand()%100+1; while(1) { int guess=0; printf("请猜
#include <stdio.h> int main() { int i=1; int j=1; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) printf("%d*%d=%d ",i,j,i*j); printf("\n"); } return 0; }
#include <stdio.h> int main() { int arr[]={1,2,3,4,5,6,7,8,9,10}; int i=0; int max=arr[0]; int sz=sizeof(arr)/sizeof(arr[0]); for(i=0;i<sz;i++) { if(max<arr[i]) max=ar
#include<stdio.h> #include<string.h> #include<windows.h> int main() { char arr1[]="welcome to bit"; char arr2[]="##############"; int left=0; int right=strlen(arr1)-1; while(lef
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号