forwhat00  

2020年7月2日

摘要: #include<iostream> #include<cmath> using namespace std; int n,num,t,tmax; int main(){ int i; cin>>n>>num;tmax=num; for(i=1;i<n;i++){ cin>>t; if(num<0) 阅读全文
posted @ 2020-07-02 19:52 forwhat00 阅读(75) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #include<algorithm> using namespace std; class stu{public: char *name; int y,m,d; double is; stu(){name=new char[20];} }input[100]; 阅读全文
posted @ 2020-07-02 19:09 forwhat00 阅读(108) 评论(0) 推荐(0) 编辑

2020年7月1日

摘要: //P1049 #include<iostream> #include<algorithm> #include<cmath> using namespace std; int map[20000][50],V,n,input[50],lest; //图表 int max(int a,int b){r 阅读全文
posted @ 2020-07-01 20:25 forwhat00 阅读(113) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #include<cstring> #include<cmath> using namespace std; int N; char input[2000]; char show(int ind,int num){ //对当前串进行读取与输出 int flag0 阅读全文
posted @ 2020-07-01 16:54 forwhat00 阅读(82) 评论(0) 推荐(0) 编辑

2020年6月30日

摘要: #include<iostream> #include<cstring> #include<cmath> using namespace std; double H,h,l,S,V; int N; int main(){ cin>>H>>S>>V>>l>>h>>N; double T0=pow(2* 阅读全文
posted @ 2020-06-30 19:23 forwhat00 阅读(79) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #include<cstring> using namespace std; int num[200],N,k,totalnum=0;//num保存每个数的数量 int show(){//显示目前的分法 for(int i=1;i<N;i++){ if(num[ 阅读全文
posted @ 2020-06-30 15:51 forwhat00 阅读(215) 评论(0) 推荐(0) 编辑
 
摘要: 新学期开始了,小哈是小哼的新同桌(小哈是个小美女哦~),小哼向小哈询问QQ号,小哈当然不会直接告诉小哼啦,原因嘛你懂的。所以小哈给了小哼一串加密过的数字,同时小哈也告诉了小哼解密规则。规则是这样的:首先将第1个数删除,紧接着将第2个数放到这串数的末尾,再将第3个数删除并将第4个数再放到这串数的末尾, 阅读全文
posted @ 2020-06-30 14:56 forwhat00 阅读(233) 评论(0) 推荐(0) 编辑

2020年6月29日

摘要: #include<iostream> #include<algorithm> using namespace std; int nownum=0,total=0; class node{//使用链表 public: int num; int flag; node * next,*last;//需要保 阅读全文
posted @ 2020-06-29 20:56 forwhat00 阅读(127) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #include<cmath> using namespace std; int n,m,tow[100005],num[200005]; char names[100005][20]; char* f(int now,int nown){//输入当前的玩具序号 阅读全文
posted @ 2020-06-29 20:52 forwhat00 阅读(123) 评论(0) 推荐(0) 编辑
 
摘要: #include<iostream> #include<cmath> using namespace std; char num1[550],num2[550],ans[550];//保存输入的数以及输出的数 int f(int ind1,int ind2,int ansind,int in){ c 阅读全文
posted @ 2020-06-29 20:49 forwhat00 阅读(111) 评论(0) 推荐(0) 编辑