2023年7月1日

摘要: #include <iostream>using namespace std;int main() { for(int q=1;q<=20;q++){ if(q%7==0||q%10==7){ cout<<"过"<<endl; }else{ cout<<q<<endl; } } system("pa 阅读全文

posted @ 2023-07-01 08:29 封魔NJ 阅读(40) 评论(0) 推荐(0)

2023年5月27日

摘要: #include <iostream>#include <string>#include <Windows.h>#include "minecraft.h"TxMinecraft mc;using namespace std;int main() {bool con=mc.ConnectMinecr 阅读全文

posted @ 2023-05-27 09:59 封魔NJ 阅读(67) 评论(0) 推荐(0)

2023年3月25日

摘要: #include <iostream>using namespace std;int main() { int m,n,a,wu; cin>>m>>n; for(int i=0;i<n;i++){ cin>>a; if(a<=m){ m = m-a; }else{ wu+=1; } } cout<< 阅读全文

posted @ 2023-03-25 20:05 封魔NJ 阅读(286) 评论(0) 推荐(0)

摘要: #include <iostream>#include <cmath>using namespace std;int main() { float n,a,b,c,d; cin>>n; cin>>a; cin>>b; cin>>c; d=d+a/50*2; d=d+b/50*2; d=d+c*1; 阅读全文

posted @ 2023-03-25 19:06 封魔NJ 阅读(521) 评论(0) 推荐(0)