上一页 1 ··· 8 9 10 11 12 13 14 下一页
摘要: import random import pygame PANEL_width = 1080 PANEL_highly = 720 FONT_PX = 15 makeblock = pygame.image.load('logo.png') pygame.init() # 创建一个可视窗口 # Cr 阅读全文
posted @ 2023-11-24 11:03 最后一个还有我 阅读(50) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; struct card{ //属性 string name; int id; string classroom; float money; int money_type;//0人民币 1美元 2 泰铢 string c 阅读全文
posted @ 2023-11-19 09:30 最后一个还有我 阅读(21) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; struct a{ int shuchu; string name; int a(int shuchu){ return shuchu*2; } }s1; int main(){ s1.name="阿萨达"; s1.s 阅读全文
posted @ 2023-11-18 09:42 最后一个还有我 阅读(14) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; //变量名[]形式传递一维数组 //求平均数 float avg(int a[],int n){ float sum=0.0; for(int i=0;i<n;i++){ sum+=a[i]; } return sum 阅读全文
posted @ 2023-11-18 08:54 最后一个还有我 阅读(20) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h>#include <string>#include <iomanip>using namespace std;int kongge(string a);int jia(string a);int jian(string a);int chu(strin 阅读全文
posted @ 2023-11-12 08:46 最后一个还有我 阅读(19) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <Windows.h> using namespace std; int HENG=16,SHU=16; int IS_WIN=false; int ALL[16][16]; void f5(){ system("cls"); co 阅读全文
posted @ 2023-11-05 09:31 最后一个还有我 阅读(16) 评论(0) 推荐(0)
摘要: #include iostream> using namespace std; int s(int a,int b){ if(a==b){ return 1; } if(a>b){ swap(a,b); } return s(a,b-a)+1; } int main(){ int a,b; cin> 阅读全文
posted @ 2023-11-04 09:47 最后一个还有我 阅读(11) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int a(int n){ if(n<=2){ return 1; }else{ return a(n-1)+a(n-2); } } int main(){ int n; cin>>n; cout<<a(n); ret 阅读全文
posted @ 2023-11-04 08:45 最后一个还有我 阅读(10) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> using namespace std; int main(){ ifstream a; string b; cin>>b; a.open("qwq.txt"); a>>b; cout<<b; return 0; } 阅读全文
posted @ 2023-11-03 20:11 最后一个还有我 阅读(8) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> using namespace std; int main(){ ofstream a; string b,c="qwq",d=".txt"; cin>>b; for(int i=0;i<100;i++){ a.open( 阅读全文
posted @ 2023-11-03 20:10 最后一个还有我 阅读(12) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 下一页