05 2023 档案

摘要:#include<iostream>using namespace std;#include<string>#include<ctime>struct student{ string sname; int score;};struct teacher{ string tname; struct st 阅读全文
posted @ 2023-05-15 00:55 大虚胖子 阅读(12) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;void shz(int*arr,int len){ for(int i=0;i<len-1;i++) { for(int j=0;j<len-1-i;j++) { if(arr[j]<arr[j+1]) { int tem 阅读全文
posted @ 2023-05-09 23:07 大虚胖子 阅读(15) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;#include<ctime>int main(){ int arr[9]={4,2,8,0,5,7,1,3,9}; for(int i=0;i<9-1;i++) { for(int j=0;j<9-1-i;j++) { i 阅读全文
posted @ 2023-05-09 00:12 大虚胖子 阅读(31) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;int main(){ for(int i=1;i<=9;i++) { for(int j=1;j<=i;j++) { cout<<i<<"*"<<j<<"="<<i*j<<" "; } cout<<endl; } syst 阅读全文
posted @ 2023-05-05 23:21 大虚胖子 阅读(9) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>using namespace std;#include<ctime>int main(){ srand((signed int)time(NULL)); int a=rand()%100+1; while(1) { int b=0; cin>>b; if(b>a 阅读全文
posted @ 2023-05-04 20:50 大虚胖子 阅读(13) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示